mesa/src/amd
Pierre-Eric Pelloux-Prayer 69aadc4933 radeonsi: fix surf_pitch for subsampled surface
gfx9.surf_pitch is supposed to be in blocks (or elements) but addrlib
returns a pitch in pixels.
This cause a mismatch between surface->bpe and surface.u.gfx9.surf_pitch.

For subsampled formats like uyvy (bpe is 2) this breaks in various places:
 - sdma copy
 - video rendering (see issue https://gitlab.freedesktop.org/mesa/mesa/issues/2363)
   when the vl_compositor_gfx_render method is used

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3738>
2020-02-27 10:01:31 +01:00
..
addrlib amd/addrlib: fix build on non-x86 platforms 2020-02-26 20:10:52 +00:00
common radeonsi: fix surf_pitch for subsampled surface 2020-02-27 10:01:31 +01:00
compiler aco: improve GFX9 1D ddx/ddy assertion 2020-02-20 15:41:26 +00:00
llvm ac/llvm: flush denorms for nir_op_fmed3 on GFX8 and older gens 2020-02-27 08:04:33 +01:00
registers ac: declare an enum for the OOB select field on GFX10 2019-12-19 15:15:32 +01:00
vulkan nir: Drop nir_tex_instr::texture_array_size 2020-02-26 18:29:49 +00:00
Android.addrlib.mk android: amd/addrlib: add gfx10 support 2019-07-10 09:03:55 +02:00
Android.common.mk android: amd/common: export amd/llvm headers 2019-10-14 10:46:45 +02:00
Android.compiler.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Android.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Makefile.sources android: radeonsi,ac: fix building error due to ac changes 2019-12-27 09:20:49 +01:00
meson.build amd: Move all amd/common code that depends on LLVM to amd/llvm. 2019-10-08 00:44:08 +00:00