linux/include
Alex Deucher f35e9bdb06 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 <christian.koenig@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com> (v2)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-02-26 17:23:49 -05:00
..
acpi
asm-generic
clocksource
crypto
drm - WARN if plane src coords are too big (Ville) 2021-02-04 12:57:28 +10:00
dt-bindings
keys
kunit
kvm
linux Mediatek DRM Next for Linux 5.12 2021-02-05 09:25:26 +10:00
math-emu
media
memory
misc
net tcp: fix TCP socket rehash stats mis-accounting 2021-01-19 19:47:20 -08:00
pcmcia
ras
rdma
scsi
soc
sound
target
trace for-linus-2021-01-24 2021-01-24 09:35:28 -08:00
uapi drm/amdgpu: add INFO ioctl support for querying video caps (v4) 2021-02-26 17:23:49 -05:00
vdso
video
xen