OSDN Git Service

radeon/vcn/vp9: search the render target from the whole list
authorLeo Liu <leo.liu@amd.com>
Wed, 27 Mar 2019 12:37:28 +0000 (08:37 -0400)
committerLeo Liu <leo.liu@amd.com>
Mon, 1 Apr 2019 12:59:38 +0000 (08:59 -0400)
commitd4e0fbc92fd08be504f328144c874da47b78e5dc
tree7858e95325216058469e833c08d3a220908c0a64
parent0af95f0ffce66a250ffbba254f22e4035e9032dd
radeon/vcn/vp9: search the render target from the whole list

The number of render targets could be more than max of references,
so we search the full list of the render pictures for the current
render target index

https://bugs.freedesktop.org/show_bug.cgi?id=109648

Signed-off-by: Leo Liu <leo.liu@amd.com>
Tested-by: James Zhu <James.Zhu@amd.com>
Acked-by: James Zhu<James.Zhu@amd.com>
Cc: <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeon/radeon_vcn_dec.c