panfrost: Remove enum panfrost_memory_layout
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 18 Feb 2020 14:49:13 +0000 (09:49 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 18 Feb 2020 16:20:56 +0000 (16:20 +0000)
commitbee5c9b0dc13dbae0ccf124124eaccebf7f2a435
tree0478144918861ce5b8a6c43fa8b3311e300fe37a
parent28e94e0a948ebdc98decb5cdbb2ddfcf31cb2b0b
panfrost: Remove enum panfrost_memory_layout

It duplicates mali_texture_layout. Let's use the native hardware enum
and spare a pointless translation.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3854>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3854>
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_mfbd.c
src/gallium/drivers/panfrost/pan_resource.c
src/gallium/drivers/panfrost/pan_resource.h
src/gallium/drivers/panfrost/pan_sfbd.c