summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-09-21 14:57:06 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-09-22 10:24:21 -0400
commit4f827785404f20ad7ca11c5d2d7832630514a280 (patch)
tree45c730a1df327b254769e4c8bdcc03bacb50d4f3 /drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
parentceeb50ed77dc34265c4362855f6a59338b124605 (diff)
downloadop-kernel-dev-4f827785404f20ad7ca11c5d2d7832630514a280.zip
op-kernel-dev-4f827785404f20ad7ca11c5d2d7832630514a280.tar.gz
drm/amdgpu/vce: allow the clock table packet
This packet allows the user mode driver to specify the required performance for specific use cases. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
index 2c9ea9b..06b94c1 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
@@ -691,6 +691,7 @@ int amdgpu_vce_ring_parse_cs(struct amdgpu_cs_parser *p, uint32_t ib_idx)
case 0x04000008: /* rdo */
case 0x04000009: /* vui */
case 0x05000002: /* auxiliary buffer */
+ case 0x05000009: /* clock table */
break;
case 0x03000001: /* encode */
OpenPOWER on IntegriCloud