diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-08-23 16:07:28 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-24 22:25:05 +0200 |
commit | 70a033d25b197b0a4e60509911195613cf28b57e (patch) | |
tree | aac61d4ba61f74c1fbaba7580e8a905a9bc9bfb3 /drivers/gpu/drm/radeon/nid.h | |
parent | drm/amdgpu: switch UVD code to use UVD_NO_OP for padding (diff) | |
download | linux-70a033d25b197b0a4e60509911195613cf28b57e.tar.xz linux-70a033d25b197b0a4e60509911195613cf28b57e.zip |
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/nid.h')
-rw-r--r-- | drivers/gpu/drm/radeon/nid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/nid.h b/drivers/gpu/drm/radeon/nid.h index 47eb49b77d32..3c9fec88ea44 100644 --- a/drivers/gpu/drm/radeon/nid.h +++ b/drivers/gpu/drm/radeon/nid.h @@ -1137,6 +1137,7 @@ #define UVD_UDEC_ADDR_CONFIG 0xEF4C #define UVD_UDEC_DB_ADDR_CONFIG 0xEF50 #define UVD_UDEC_DBW_ADDR_CONFIG 0xEF54 +#define UVD_NO_OP 0xEFFC #define UVD_RBC_RB_RPTR 0xF690 #define UVD_RBC_RB_WPTR 0xF694 #define UVD_STATUS 0xf6bc |