diff options
author | Jayant Shekhar <jshekhar@codeaurora.org> | 2018-11-30 14:52:50 +0300 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2018-12-03 16:46:14 +0300 |
commit | d9a75a6201d9367a452de59d7759b708633f1a1f (patch) | |
tree | cd450c2fbc8044069fedac9a8c8c8b4894944b17 /drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | |
parent | ce25aa3ee6939d83979cccf7adc5737cba9a0cb7 (diff) | |
download | linux-d9a75a6201d9367a452de59d7759b708633f1a1f.tar.xz |
drm/msm/dpu: Ignore alpha for XBGR8888 format
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>
Diffstat (limited to 'drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c')
-rw-r--r-- | drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c index bfcd165e96df..d743e7ca6a3c 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c @@ -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, |