panfrost: Fix tiled NPOT textures with bpp<4
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 20 Jun 2019 15:19:06 +0000 (08:19 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 20 Jun 2019 15:22:38 +0000 (08:22 -0700)
commit7b46f09f26c3f4377f46d145344f98d5b27b0b00
treec3fecc81eabfb06244a94d808eb7fd899f40c08b
parent413242277a2653d12d5ea8d8acba533530281fd6
panfrost: Fix tiled NPOT textures with bpp<4

Panfrost's tiling routines (incorrectly) ignored the source stride,
masking this bug; lima's routines respect this stride, causing issues
when tiling NPOT textures whose stride is not a multiple of 64
(for instance, NPOT textures with bpp=1).

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_resource.c