msm: mdss: Fix elements ordering of all YUV interleaved formats

Pack the elements of all YUV interleaved formats in the same order
in which the elements are stored in the memory.

CRs-Fixed: 1019201
Change-Id: I64472af6e9983929e0d3ea08601d17c7a2b7c4ef
Signed-off-by: Ramkumar Radhakrishnan <ramkumar@codeaurora.org>
This commit is contained in:
Ramkumar Radhakrishnan 2016-05-19 20:10:42 -07:00 committed by Kyle Yan
parent 092f5f0a9e
commit 4bbba918b3

View file

@ -388,7 +388,7 @@ static struct mdss_mdp_format_params mdss_mdp_format_map[] = {
.unpack_count = 3,
.bpp = 3,
.fetch_mode = MDSS_MDP_FETCH_LINEAR,
.element = { C2_R_Cr, C1_B_Cb, C0_G_Y },
.element = { C0_G_Y, C1_B_Cb, C2_R_Cr },
},
{
FMT_YUV_COMMON(MDP_YCRCB_H1V1),
@ -397,7 +397,7 @@ static struct mdss_mdp_format_params mdss_mdp_format_map[] = {
.unpack_count = 3,
.bpp = 3,
.fetch_mode = MDSS_MDP_FETCH_LINEAR,
.element = { C1_B_Cb, C2_R_Cr, C0_G_Y },
.element = { C0_G_Y, C2_R_Cr, C1_B_Cb },
},
{
FMT_YUV_COMMON(MDP_YCRYCB_H2V1),
@ -406,7 +406,7 @@ static struct mdss_mdp_format_params mdss_mdp_format_map[] = {
.unpack_count = 4,
.bpp = 2,
.fetch_mode = MDSS_MDP_FETCH_LINEAR,
.element = { C1_B_Cb, C0_G_Y, C2_R_Cr, C0_G_Y },
.element = { C0_G_Y, C2_R_Cr, C0_G_Y, C1_B_Cb },
},
{
FMT_YUV_COMMON(MDP_YCBYCR_H2V1),
@ -416,7 +416,7 @@ static struct mdss_mdp_format_params mdss_mdp_format_map[] = {
.unpack_count = 4,
.bpp = 2,
.fetch_mode = MDSS_MDP_FETCH_LINEAR,
.element = { C2_R_Cr, C0_G_Y, C1_B_Cb, C0_G_Y },
.element = { C0_G_Y, C1_B_Cb, C0_G_Y, C2_R_Cr },
},
{
FMT_YUV_COMMON(MDP_CRYCBY_H2V1),
@ -425,7 +425,7 @@ static struct mdss_mdp_format_params mdss_mdp_format_map[] = {
.unpack_count = 4,
.bpp = 2,
.fetch_mode = MDSS_MDP_FETCH_LINEAR,
.element = { C0_G_Y, C1_B_Cb, C0_G_Y, C2_R_Cr },
.element = { C2_R_Cr, C0_G_Y, C1_B_Cb, C0_G_Y },
},
{
FMT_YUV_COMMON(MDP_CBYCRY_H2V1),