drm/amdgpu/vce: allow the clock table packet
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Sep 2016 18:57:06 +0000 (14:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Sep 2016 14:24:21 +0000 (10:24 -0400)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c

index 2c9ea9b50f48bf9bb13d8edd6587fb35fbf35e51..06b94c13c2c9f93f1b89c5480043e57cea32e006 100644 (file)
@@ -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 */