drm/fourcc: Add fourcc for Mali linear tiled formats
authorAlexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Thu, 1 Nov 2018 15:11:30 +0000 (15:11 +0000)
committerAlexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Fri, 2 Nov 2018 09:55:44 +0000 (09:55 +0000)
commit697b6b85042ef0fb9838e3100700eed727c211e9
treedbd93838425b6a3716b393f43425f3534e00af90
parent042bf753842ddbddcf3d4c29f21a8905d6a33e79
drm/fourcc: Add fourcc for Mali linear tiled formats

Mali-DP implements a number of tiled yuv formats which are not
currently described in drm_fourcc.h.
This adds those definitions and describes their memory layout by
using the newly added char_per_block, block_w, block_h.

Reviewed-by: Brian Starkey <brian.starkey@arm.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181101151051.1509-3-alexandru-cosmin.gheorghe@arm.com
drivers/gpu/drm/drm_fourcc.c
include/uapi/drm/drm_fourcc.h