linux_dsm_epyc7002/drivers/gpu/drm/arm
Ayan Kumar Halder 3dae1c0919 drm/arm/malidp: Implemented the size validation for AFBC framebuffers
AFBC buffers include additional metadata which increases the required
allocation size. Implement the appropriate size validation and sanity
checking for AFBC buffers.
Added malidp specific function for framebuffer creation. This checks
if the framebuffer has AFBC modifiers and if so, it verifies the
necessary constraints on the size, alignment, offsets and pitch.

Changes from v2:
- Replaced DRM_ERROR() with DRM_DEBUG_KMS() in
malidp_verify_afbc_framebuffer_caps() and malidp_verify_afbc_framebuffer_size()

Signed-off-by: Ayan Kumar halder <ayan.halder@arm.com>
Reviewed-by: Brian Starkey <brian.starkey@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
2018-10-02 12:12:19 +01:00
..
hdlcd_crtc.c drm/arm/hdlcd: Reject atomic commits that disable only the plane 2018-07-31 16:31:50 +01:00
hdlcd_drv.c drm/arm/hdlcd: Use drm_fbdev_generic_setup() 2018-09-25 11:30:43 +02:00
hdlcd_drv.h drm/arm/hdlcd: Use drm_fb_cma_fbdev_init/fini() 2018-07-31 16:31:50 +01:00
hdlcd_regs.h drm: Add support for ARM's HDLCD controller. 2016-02-10 13:44:16 +00:00
Kconfig drm/arm: make fbdev support really optional 2016-07-18 09:11:42 +02:00
Makefile drm: mali-dp: Add writeback connector 2018-07-05 15:19:03 +01:00
malidp_crtc.c drm/arm/malidp: Validate rotations for compressed/uncompressed framebuffers for each layer 2018-10-02 12:11:00 +01:00
malidp_drv.c drm/arm/malidp: Implemented the size validation for AFBC framebuffers 2018-10-02 12:12:19 +01:00
malidp_drv.h drm/malidp: Enable MMU prefetch on Mali-DP650 2018-10-02 11:59:36 +01:00
malidp_hw.c drm/arm/malidp: Validate rotations for compressed/uncompressed framebuffers for each layer 2018-10-02 12:11:00 +01:00
malidp_hw.h drm/arm/malidp: Implemented the size validation for AFBC framebuffers 2018-10-02 12:12:19 +01:00
malidp_mw.c drm/malidp: Fix writeback in NV12 2018-10-02 11:54:26 +01:00
malidp_mw.h drm: mali-dp: Add writeback connector 2018-07-05 15:19:03 +01:00
malidp_planes.c drm/arm/malidp: Validate rotations for compressed/uncompressed framebuffers for each layer 2018-10-02 12:11:00 +01:00
malidp_regs.h drm/malidp: Enable MMU prefetch on Mali-DP650 2018-10-02 11:59:36 +01:00