* [DPU PATCH v1] drm/msm/dpu: Change RGB565 and BGR565 format map.
@ 2018-12-14 18:23 Tanmay Shah
[not found] ` <20181214182340.1195-1-tanmay-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Tanmay Shah @ 2018-12-14 18:23 UTC (permalink / raw)
To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Cc: manojavm-sgV2jX0FEOL9JmXXK+q4OQ, abhinavk-sgV2jX0FEOL9JmXXK+q4OQ,
robdclark-Re5JQEeQqe8AvxtiuMwx3w, seanpaul-F7+t8E8rja9g9hUCZPvPmw,
Tanmay Shah, jsanka-sgV2jX0FEOL9JmXXK+q4OQ,
hoegsberg-F7+t8E8rja9g9hUCZPvPmw
Red and Blue colors will be interchanged on display with
current format maps for RGB565 and BGR565.
Change both format maps to dispaly correct colors.
Signed-off-by: Tanmay Shah <tanmay@codeaurora.org>
---
drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c
index d53abc8ce670..f59fe1a9f4b9 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c
@@ -263,13 +263,13 @@ static const struct dpu_format dpu_format_map[] = {
INTERLEAVED_RGB_FMT(RGB565,
0, COLOR_5BIT, COLOR_6BIT, COLOR_5BIT,
- C1_B_Cb, C0_G_Y, C2_R_Cr, 0, 3,
+ C2_R_Cr, C0_G_Y, C1_B_Cb, 0, 3,
false, 2, 0,
DPU_FETCH_LINEAR, 1),
INTERLEAVED_RGB_FMT(BGR565,
0, COLOR_5BIT, COLOR_6BIT, COLOR_5BIT,
- C2_R_Cr, C0_G_Y, C1_B_Cb, 0, 3,
+ C1_B_Cb, C0_G_Y, C2_R_Cr, 0, 3,
false, 2, 0,
DPU_FETCH_LINEAR, 1),
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <20181214182340.1195-1-tanmay-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>]
* Re: [DPU PATCH v1] drm/msm/dpu: Change RGB565 and BGR565 format map. [not found] ` <20181214182340.1195-1-tanmay-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> @ 2018-12-14 18:34 ` jshekhar-sgV2jX0FEOL9JmXXK+q4OQ [not found] ` <9ad795cd7e2a31887deaa5affd407c29-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: jshekhar-sgV2jX0FEOL9JmXXK+q4OQ @ 2018-12-14 18:34 UTC (permalink / raw) To: Tanmay Shah Cc: manojavm-sgV2jX0FEOL9JmXXK+q4OQ, abhinavk-sgV2jX0FEOL9JmXXK+q4OQ, seanpaul-F7+t8E8rja9g9hUCZPvPmw, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, hoegsberg-F7+t8E8rja9g9hUCZPvPmw, freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW On 2018-12-14 23:53, Tanmay Shah wrote: > Red and Blue colors will be interchanged on display with > current format maps for RGB565 and BGR565. > > Change both format maps to dispaly correct colors. > > Signed-off-by: Tanmay Shah <tanmay@codeaurora.org> LGTM. Reviewed-by: Jayant Shekhar <jshekhar@codeaurora.org> > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c > b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c > index d53abc8ce670..f59fe1a9f4b9 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c > @@ -263,13 +263,13 @@ static const struct dpu_format dpu_format_map[] = > { > > INTERLEAVED_RGB_FMT(RGB565, > 0, COLOR_5BIT, COLOR_6BIT, COLOR_5BIT, > - C1_B_Cb, C0_G_Y, C2_R_Cr, 0, 3, > + C2_R_Cr, C0_G_Y, C1_B_Cb, 0, 3, > false, 2, 0, > DPU_FETCH_LINEAR, 1), > > INTERLEAVED_RGB_FMT(BGR565, > 0, COLOR_5BIT, COLOR_6BIT, COLOR_5BIT, > - C2_R_Cr, C0_G_Y, C1_B_Cb, 0, 3, > + C1_B_Cb, C0_G_Y, C2_R_Cr, 0, 3, > false, 2, 0, > DPU_FETCH_LINEAR, 1), _______________________________________________ Freedreno mailing list Freedreno@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/freedreno ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <9ad795cd7e2a31887deaa5affd407c29-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>]
* Re: [DPU PATCH v1] drm/msm/dpu: Change RGB565 and BGR565 format map. [not found] ` <9ad795cd7e2a31887deaa5affd407c29-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> @ 2018-12-14 18:36 ` jshekhar-sgV2jX0FEOL9JmXXK+q4OQ 0 siblings, 0 replies; 3+ messages in thread From: jshekhar-sgV2jX0FEOL9JmXXK+q4OQ @ 2018-12-14 18:36 UTC (permalink / raw) To: Tanmay Shah Cc: manojavm-sgV2jX0FEOL9JmXXK+q4OQ, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, seanpaul-F7+t8E8rja9g9hUCZPvPmw, abhinavk-sgV2jX0FEOL9JmXXK+q4OQ, hoegsberg-F7+t8E8rja9g9hUCZPvPmw, freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW On 2018-12-15 00:04, jshekhar@codeaurora.org wrote: > On 2018-12-14 23:53, Tanmay Shah wrote: >> Red and Blue colors will be interchanged on display with >> current format maps for RGB565 and BGR565. >> >> Change both format maps to dispaly correct colors. >> spelling: dispaly/display >> Signed-off-by: Tanmay Shah <tanmay@codeaurora.org> > > LGTM. > > Reviewed-by: Jayant Shekhar <jshekhar@codeaurora.org> > >> --- >> drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c >> b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c >> index d53abc8ce670..f59fe1a9f4b9 100644 >> --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c >> +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c >> @@ -263,13 +263,13 @@ static const struct dpu_format dpu_format_map[] >> = { >> >> INTERLEAVED_RGB_FMT(RGB565, >> 0, COLOR_5BIT, COLOR_6BIT, COLOR_5BIT, >> - C1_B_Cb, C0_G_Y, C2_R_Cr, 0, 3, >> + C2_R_Cr, C0_G_Y, C1_B_Cb, 0, 3, >> false, 2, 0, >> DPU_FETCH_LINEAR, 1), >> >> INTERLEAVED_RGB_FMT(BGR565, >> 0, COLOR_5BIT, COLOR_6BIT, COLOR_5BIT, >> - C2_R_Cr, C0_G_Y, C1_B_Cb, 0, 3, >> + C1_B_Cb, C0_G_Y, C2_R_Cr, 0, 3, >> false, 2, 0, >> DPU_FETCH_LINEAR, 1), > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel _______________________________________________ Freedreno mailing list Freedreno@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/freedreno ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-12-14 18:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-14 18:23 [DPU PATCH v1] drm/msm/dpu: Change RGB565 and BGR565 format map Tanmay Shah
[not found] ` <20181214182340.1195-1-tanmay-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-12-14 18:34 ` jshekhar-sgV2jX0FEOL9JmXXK+q4OQ
[not found] ` <9ad795cd7e2a31887deaa5affd407c29-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-12-14 18:36 ` jshekhar-sgV2jX0FEOL9JmXXK+q4OQ
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.