drm/arm/malidp: Added support for AFBC modifiers for all layers except DE_SMART
authorAyan Kumar Halder <ayan.halder@arm.com>
Tue, 15 May 2018 12:35:57 +0000 (13:35 +0100)
committerAyan kumar halder <ayan.halder@arm.com>
Tue, 12 Mar 2019 18:25:10 +0000 (18:25 +0000)
commit25570b5e333f40219e359fe57a32d475e555f2a3
tree9ff072c5c43c6370155a33493b21e66e0246f491
parent0f6c18deca3564fa5e736d280e8cb81975b99e8e
drm/arm/malidp: Added support for AFBC modifiers for all layers except DE_SMART

The list of modifiers to be supported for each plane has been dynamically generated
from 'malidp_format_modifiers[]' and 'malidp_hw_regmap->features'.

Changes from v1:-
1. Replaced DRM_ERROR() with DRM_DEBUG_KMS() in malidp_format_mod_supported()
to report unsupported modifiers.

Changes from v2:-
1. Removed malidp_format_mod_supported() from the current patch. This has been added
in "PATCH 7/12"
2. Dynamically generate the list of modifiers (to be supported for each plane) from
'malidp_format_modifiers' and features.

Changes since v3 (series):
- Added the ack
- Rebased on the latest drm-misc-next

Signed-off-by: Ayan Kumar halder <ayan.halder@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Link: https://patchwork.freedesktop.org/patch/291767/?series=57895&rev=1
drivers/gpu/drm/arm/malidp_drv.c
drivers/gpu/drm/arm/malidp_planes.c