drm/komeda: add NV12 format to support writeback layer type
authorbaozhu.liu <lucas.liu@siengine.com>
Tue, 29 Aug 2023 09:30:03 +0000 (17:30 +0800)
committerLiviu Dudau <liviu.dudau@arm.com>
Fri, 15 Sep 2023 16:41:16 +0000 (17:41 +0100)
commitdb43b0319df5949286411e3f6ed225186f552297
tree39138220266ccae36ba64640ba94e03ff55ec406
parent27b87db470e2274e9293375a6c61a2b5d8404f23
drm/komeda: add NV12 format to support writeback layer type

When testing the d71 writeback layer function,
the output format is set to NV12, and the following error message is displayed:

[drm:komeda_fb_is_layer_supported] Layer TYPE: 4 doesn't support fb FMT: NV12 little-endian (0x3231564e) with modifier: 0x0..

Check the d71 data manual, writeback layer output formats includes NV12 format.

Signed-off-by: baozhu.liu <lucas.liu@siengine.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230829093004.22860-1-lucas.liu@siengine.com
drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c