Skip to content

Commit

Permalink
drm/msm/dpu: Ignore alpha for XBGR8888 format
Browse files Browse the repository at this point in the history
Alpha enable in the pixel format will help in
selecting the blend rule. By keeping alpha enable
to true we are allowing foreground alpha to blend
with the layer. If alpha is don't care, then we
should not allow pixel alpha to be part of blend
equation.

Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
  • Loading branch information
Jayant Shekhar authored and Sean Paul committed Dec 3, 2018
1 parent ce25aa3 commit d9a75a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ static const struct dpu_format dpu_format_map[] = {
INTERLEAVED_RGB_FMT(XBGR8888,
COLOR_8BIT, COLOR_8BIT, COLOR_8BIT, COLOR_8BIT,
C2_R_Cr, C0_G_Y, C1_B_Cb, C3_ALPHA, 4,
true, 4, 0,
false, 4, 0,
DPU_FETCH_LINEAR, 1),

INTERLEAVED_RGB_FMT(RGBA8888,
Expand Down

0 comments on commit d9a75a6

Please sign in to comment.