mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 23:48:53 +07:00
3dae1c0919
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> |
||
---|---|---|
.. | ||
hdlcd_crtc.c | ||
hdlcd_drv.c | ||
hdlcd_drv.h | ||
hdlcd_regs.h | ||
Kconfig | ||
Makefile | ||
malidp_crtc.c | ||
malidp_drv.c | ||
malidp_drv.h | ||
malidp_hw.c | ||
malidp_hw.h | ||
malidp_mw.c | ||
malidp_mw.h | ||
malidp_planes.c | ||
malidp_regs.h |