]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39b77c4751c320475958f150b5e932d11f926584
treedbd93838425b6a3716b393f43425f3534e00af90
parent46377a7c7d66ffe87cfc72073bc8c8e45f698d8f
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