drm/radeon/r6xx/r7xx: CS parser fixes
commit5f77df368c84d0a4a5913c8c78f0c6fa0b0db674
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 26 Mar 2010 18:52:32 +0000 (26 14:52 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 31 Mar 2010 03:12:17 +0000 (31 13:12 +1000)
tree193ee0d47ac929e40afbf776a21512b199d7df45
parent5898b1f33c881fe1352464efd15faf7d26513b98
drm/radeon/r6xx/r7xx: CS parser fixes

- Drop some more safe regs taht userspace shouldn't hit
- Constant base regs need relocs.  This allows us to use
constant buffers rather than the constant register file.
Also we don't want userspace to be able to set arbitrary
mc base values for the const caches.
- Track SQ_CONFIG so we know whether userspace is using
the cfile or constant buffers.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_cs.c
drivers/gpu/drm/radeon/r600d.h
drivers/gpu/drm/radeon/reg_srcs/r600