summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_uvd.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-08-23 01:03:22 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-08-24 23:25:04 +0300
commit4d6bdbad25e60eac1d14c039cbc32778e9dec8fe (patch)
tree0e372684b03e425482e21c37683cec871993d353 /drivers/gpu/drm/radeon/radeon_uvd.c
parent8dd31d74acc1371d143fd0b2795dc3d16fb47202 (diff)
downloadlinux-4d6bdbad25e60eac1d14c039cbc32778e9dec8fe.tar.xz
drm/radeon: add support for UVD_NO_OP register
Writes to this register are the preferred way to do NOPs. Bump the driver version as well. 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/radeon_uvd.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_uvd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_uvd.c b/drivers/gpu/drm/radeon/radeon_uvd.c
index 73dfe01435ea..1ae1f139f14e 100644
--- a/drivers/gpu/drm/radeon/radeon_uvd.c
+++ b/drivers/gpu/drm/radeon/radeon_uvd.c
@@ -669,6 +669,7 @@ static int radeon_uvd_cs_reg(struct radeon_cs_parser *p,
return r;
break;
case UVD_ENGINE_CNTL:
+ case UVD_NO_OP:
break;
default:
DRM_ERROR("Invalid reg 0x%X!\n",