summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/rv770d.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-08-23 17:07:28 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-08-24 23:25:05 +0300
commit70a033d25b197b0a4e60509911195613cf28b57e (patch)
treeaac61d4ba61f74c1fbaba7580e8a905a9bc9bfb3 /drivers/gpu/drm/radeon/rv770d.h
parentc8b4f288f4276078f169a404e2d1ac1535f82b93 (diff)
downloadlinux-70a033d25b197b0a4e60509911195613cf28b57e.tar.xz
drm/radeon: switch UVD code to use UVD_NO_OP for padding
Replace packet2's with packet0 writes to UVD_NO_OP. The value written to UVD_NO_OP does not matter. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/rv770d.h')
-rw-r--r--drivers/gpu/drm/radeon/rv770d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/rv770d.h b/drivers/gpu/drm/radeon/rv770d.h
index 9ef2064b1c9c..0271f4c559ae 100644
--- a/drivers/gpu/drm/radeon/rv770d.h
+++ b/drivers/gpu/drm/radeon/rv770d.h
@@ -387,6 +387,7 @@
#define UVD_UDEC_TILING_CONFIG 0xef40
#define UVD_UDEC_DB_TILING_CONFIG 0xef44
#define UVD_UDEC_DBW_TILING_CONFIG 0xef48
+#define UVD_NO_OP 0xeffc
#define GC_USER_SHADER_PIPE_CONFIG 0x8954
#define INACTIVE_QD_PIPES(x) ((x) << 8)