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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 5 Apr 2019 10:31:05 +0000 (11:31 +0100)
commit319e0c1799d4f490f9da23d349c5a8de7dc5eefa
tree6b84b240eaa8af8796a8a4c527091c812ca170d5
parent14c82872f5b1d081c5c7e397445a88ebc96bf3df
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>
(cherry picked from commit d4e0fbc92fd08be504f328144c874da47b78e5dc)
src/gallium/drivers/radeon/radeon_vcn_dec.c