[RFC PATCH 0/4] Add support for Arm Framebuffer Compression(AFBC)
From: Ayan Kumar Halder
Date: Fri Jun 15 2018 - 09:51:51 EST
In the current series of patches, we are trying to add support for AFBC
modifiers in malidp. AFBC modifiers adds some constraints to framebuffer
size, alignment, pitch, formats, etc. Here we are trying to add support
for one combination of AFBC modifier ie AFBC_FORMAT_MOD_BLOCK_SIZE_16x16 |
AFBC_FORMAT_MOD_SPARSE | AFBC_FORMAT_MOD_YTR.
In future, we intend to add support for more combination of AFBC modifiers.
Currently, we are trying to enable a basic support of AFBC in malidp.
Ayan Kumar Halder (4):
drm/arm/malidp: Add modifier definitions for describing Arm
Framebuffer Compression (AFBC).
drm/arm/malidp: Implemented the size validation for AFBC framebuffers
drm/arm/malidp: Set the AFBC register bits if the framebuffer has AFBC
drm/arm/malidp: Added support for AFBC modifiers for all layers except
drivers/gpu/drm/arm/malidp_drv.c | 129 +++++++++++++++++++++++++++++++++++-
drivers/gpu/drm/arm/malidp_hw.c | 27 +++++---
drivers/gpu/drm/arm/malidp_hw.h | 7 ++
drivers/gpu/drm/arm/malidp_planes.c | 127 ++++++++++++++++++++++++++++++++---
drivers/gpu/drm/arm/malidp_regs.h | 20 ++++++
include/uapi/drm/drm_fourcc.h | 83 +++++++++++++++++++++++
6 files changed, 371 insertions(+), 22 deletions(-)