st/va: don't re-allocate interlaced buffer with pakced format
authorLeo Liu <leo.liu@amd.com>
Mon, 2 Oct 2017 01:27:20 +0000 (21:27 -0400)
committerLeo Liu <leo.liu@amd.com>
Wed, 4 Oct 2017 13:22:33 +0000 (09:22 -0400)
commit0fa950ecd38d5025bb2393bbcb96a73152764cf4
treeb9f8813f238f89efd486a3fd44f915d7cf3ebf01
parent327480d10f2dab52de28e9a84609fac81c2034c5
st/va: don't re-allocate interlaced buffer with pakced format

It caused corruption, when vlVaPutImage putting raw data to the fields

v2: add RGB formats since it got uploaded here as well

Cc: mesa-stable@lists.freedesktop.org
Cc: Andy Furniss <adf.lists@gmail.com>
Tested-by: Andy Furniss <adf.lists@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/image.c