]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/r6xx/r7xx: CS parser fixes
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 26 Mar 2010 18:52:32 +0000 (14:52 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 31 Mar 2010 03:12:17 +0000 (13:12 +1000)
commitfffe44b34a6690dc8786286069d48fc1998d36fd
tree193ee0d47ac929e40afbf776a21512b199d7df45
parente8a822a3f8a57d9989b5f58214a8f653b9367209
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