drm/msm/dpu: fix for cursor blend issue
authorSravanthi Kollukuduru <skolluku@codeaurora.org>
Wed, 22 Aug 2018 17:49:57 +0000 (23:19 +0530)
committerRob Clark <robdclark@gmail.com>
Thu, 4 Oct 2018 00:24:50 +0000 (20:24 -0400)
commit74593a28c221246bc59a34fbad5e14134a93fc6a
treed1e90639e65e560f05fc3983a36807cbcdcc4afc
parent07ca1fc0f8a09b9c920002d5c36378a2ddefe37c
drm/msm/dpu: fix for cursor blend issue

The current driver has the opaque blend mode set as the
default causing the black box effect around the cursor.
The fix enables choosing a different blend mode for alpha
enabled formats.

Changes in V2:
- Use drm_get_format_name() in the logs (Sean)

Signed-off-by: Sravanthi Kollukuduru <skolluku@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c