aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/si.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2021-01-07 16:48:01 -0500
committerAlex Deucher <[email protected]>2021-02-26 17:23:49 -0500
commitf35e9bdb06fbfa8a6fe9d25390fbee2ee5e7a329 (patch)
tree5bbef73cba8d9fbe8962ff07149f45fe810ed806 /drivers/gpu/drm/amd/amdgpu/si.c
parent3b246e8b6a97b7786f49433effea2aff39e58166 (diff)
drm/amdgpu: add INFO ioctl support for querying video caps (v4)
We currently hardcode these in mesa, but querying them from the kernel makes more sense since there may be board specific limitations that the kernel driver is better suited to determining. Userpace patches that use this interface: https://gitlab.freedesktop.org/leoliu/drm/-/commits/info_video_caps https://gitlab.freedesktop.org/leoliu/mesa/-/commits/info_video_caps v2: reorder the codecs to better align with mesa v3: add max_pixels_per_frame to handle the portrait case, squash in memory leak fix v4: drop extra break Reviewed-by: Christian König <[email protected]> Reviewed-by: Leo Liu <[email protected]> (v2) Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si.c')
0 files changed, 0 insertions, 0 deletions