drm/radeon/kms: add support for streamout v7
authorMarek Olšák <maraeo@gmail.com>
Fri, 27 Jan 2012 17:17:59 +0000 (12:17 -0500)
committerDave Airlie <airlied@redhat.com>
Mon, 13 Feb 2012 12:09:11 +0000 (12:09 +0000)
commitdd220a00e8bd5ad7f98ecdc3eed699a7cfabdc27
tree8cdedce29665aae1f92ebcccefacda0598d08a1c
parent51a59ac8739b333eaa43a3102b6acaab5037bfa2
drm/radeon/kms: add support for streamout v7

v2: agd5f: add strmout CS checking, copy_dw register checking

v3: agd5f: don't use cs_check_reg() for copy_dw checking as it
will incorrectly patch the command stream for certain regs.

v4: agd5f: add warning if safe reg check fails for copy_dw

v5: agd5f: add stricter checking for 6xx/7xx

v6: agd5f: add range checking for copy_dw on eg+,
add sx_surface_sync to safe reg list for 7xx.

v7: agd5f: add stricter checking for eg+

Signed-off-by: Marek Olšák <maraeo@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen_cs.c
drivers/gpu/drm/radeon/evergreend.h
drivers/gpu/drm/radeon/r600_cs.c
drivers/gpu/drm/radeon/r600d.h
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/radeon/reg_srcs/cayman
drivers/gpu/drm/radeon/reg_srcs/evergreen
drivers/gpu/drm/radeon/reg_srcs/r600