amd/surface: 3 small fixes
The first 2 patches are related to #2759 (closed). Since I can't reproduce the issue I'm not sure they fix it but they seem correct to me.
The 3rd one is fixing an issue for UYVY jpg file rendering (cc @thongthai)
(marking as WIP as I need to re-run piglit/cts on these changes)
Edited by Pierre-Eric Pelloux-Prayer