radeon/uvd: increase max height to 4096 for VI and newer
authorTamil velan <Tamil-Velan.Jayakumar@amd.com>
Mon, 7 Mar 2016 09:47:29 +0000 (15:17 +0530)
committerLeo Liu <leo.liu@amd.com>
Wed, 9 Mar 2016 00:01:19 +0000 (19:01 -0500)
commit353a4f844f9e845dad93de9c28fa0d484b4b92d3
tree3fc110397ea2f1b3c4ed04f34620a7b99233039c
parent6373845d985d65c00f7c62b793e67ae5106eabff
radeon/uvd: increase max height to 4096 for VI and newer

With this issue 'mpv --hwdec=vdpau --vo=vdpau <stream>' fails
for vdpau decode if the stream height is 4096. Vdpau decode of
height upto 4096 is necessary usecase on amdgpu driver for VI
and newer platforms.

The fix is in driver specific implementation of "Decoder
Query Capabilities" API to return 4096 for VI and newer
platforms. With this fix vdpauinfo reports height support as
4096 and mpv for vdpau decode works fine for 4096 height streams.

Signed-off-by: Tamil velan <Tamil-Velan.Jayakumar@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeon/radeon_video.c