drm/amdgpu: add info ioctl query for vce clock info (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Oct 2016 16:12:46 +0000 (12:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2016 18:38:40 +0000 (14:38 -0400)
commitbbe879747629fef4b2b73034059e73b2a433e0d1
treef8c1d90baeebeac5661398934b7c42e7ce5e58d3
parent66ba1afd854211435cc91159a1ededb1d0f04464
drm/amdgpu: add info ioctl query for vce clock info (v3)

This is needed to set up the vce clock table in userspace
for proper VCE DPM.

v2: fix copy paste typo in comment
v3: track number of valid states

Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/uapi/drm/amdgpu_drm.h