mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-09-29 00:00:25 +02:00
Merge "msm: mdss: fix rotator hang for xrgb formats"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
4c71c745cb
@@ -150,8 +150,11 @@ static int mdss_mdp_writeback_format_setup(struct mdss_mdp_writeback_ctx *ctx)
|
||||
(fmt->bits[C1_B_Cb] << 2) |
|
||||
(fmt->bits[C0_G_Y] << 0);
|
||||
|
||||
if (fmt->alpha_enable)
|
||||
if (fmt->bits[C3_ALPHA] || fmt->alpha_enable) {
|
||||
dst_format |= BIT(8); /* DSTC3_EN */
|
||||
if (!fmt->alpha_enable)
|
||||
dst_format |= BIT(14); /* DST_ALPHA_X */
|
||||
}
|
||||
|
||||
if (fmt->fetch_planes != MDSS_MDP_PLANE_PLANAR) {
|
||||
pattern = (fmt->element[3] << 24) | (fmt->element[2] << 15) |
|
||||
|
||||
Reference in New Issue
Block a user