radeon/vcn: fix jpeg decode for navi10
authorThong Thai <thong.thai@amd.com>
Sun, 9 Aug 2020 15:13:57 +0000 (11:13 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 10 Aug 2020 16:39:48 +0000 (16:39 +0000)
commit0f8ef37f653bbb1fffa6813697e2ffe21dae2016
tree21122aac930316740a46e0dcdbe4ebcdcbe5d4c8
parente362ccb20c8c7f50d5ca3066092db2a24df20f7e
radeon/vcn: fix jpeg decode for navi10

Fixes an issue where the JPEG decode would timeout when decoding certain JPEG files.

Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Boyuan Zhang <boyuan.zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6249>
src/gallium/drivers/radeon/radeon_vcn_dec_jpeg.c