linux_dsm_epyc7002/drivers/gpu/drm/arm
Lowry Li 187f7f21b2 drm/mali-dp: Implement plane alpha and pixel blend on malidp
Checks the pixel blending mode and plane alpha value when
do the plane_check. Mali DP supports blending the current plane
with the background either based on the pixel alpha blending
mode or by using the layer's alpha value, but not both at the
same time. If both case, plane_check will return failed.

Sets the HW when doing plane_update accordingly. If plane alpha
is the 0xffff, set the pixel blending bits accordingly. If not
we'd set ALPHA bit as zero and layer alpha value.

Changes since v1:
 - Introduces to use it in the malidp driver, which depends on
   the plane alpha patch
Changes since v2:
 - Refines the comments of drm/mali-dp patchset
Changes since v3:
 - Adds hardware limitation check
Changes since v4:
 - Updates on drm/malidp, hardware limitation check only when
   the format has alpha pixel.
 - Rebases on drm-misc-next.

Signed-off-by: Lowry Li <lowry.li@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
2018-10-02 11:54:26 +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: mali-dp: Add writeback connector 2018-07-05 15:19:03 +01:00
malidp_drv.c drm: mali-dp: Call drm_crtc_vblank_reset on device init 2018-10-02 11:54:26 +01:00
malidp_drv.h drm: mali-dp: Add debugfs file for reporting internal errors 2018-07-05 15:19:05 +01:00
malidp_hw.c drm/malidp: Fix writeback in NV12 2018-10-02 11:54:26 +01:00
malidp_hw.h drm/malidp: Fix writeback in NV12 2018-10-02 11:54:26 +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/mali-dp: Implement plane alpha and pixel blend on malidp 2018-10-02 11:54:26 +01:00
malidp_regs.h drm/malidp: Fix writeback in NV12 2018-10-02 11:54:26 +01:00