* [PATCH] drm/panel: simple: Fix the bus_format for the Ontat panel.
@ 2018-03-09 23:33 Eric Anholt
2018-03-12 7:23 ` Thierry Reding
0 siblings, 1 reply; 2+ messages in thread
From: Eric Anholt @ 2018-03-09 23:33 UTC (permalink / raw)
To: dri-devel; +Cc: linux-kernel, Eric Anholt, Thierry Reding
This fixes bad color output. When I was first testing the device I
had the DPI hardware set to 666 mode, but apparently in the refactor
to use the bus_format information from the panel driver, I failed to
actually update the panel.
Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: e8b6f561b2ee ("drm/panel: simple: Add the 7" DPI panel from Adafruit")
Cc: Thierry Reding <thierry.reding@gmail.com>
---
drivers/gpu/drm/panel/panel-simple.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 5591984a392b..f9649bded63f 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1597,7 +1597,7 @@ static const struct panel_desc ontat_yx700wv03 = {
.width = 154,
.height = 83,
},
- .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+ .bus_format = MEDIA_BUS_FMT_RGB666_1X18,
};
static const struct drm_display_mode ortustech_com43h4m85ulc_mode = {
--
2.16.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/panel: simple: Fix the bus_format for the Ontat panel.
2018-03-09 23:33 [PATCH] drm/panel: simple: Fix the bus_format for the Ontat panel Eric Anholt
@ 2018-03-12 7:23 ` Thierry Reding
0 siblings, 0 replies; 2+ messages in thread
From: Thierry Reding @ 2018-03-12 7:23 UTC (permalink / raw)
To: Eric Anholt; +Cc: dri-devel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 625 bytes --]
On Fri, Mar 09, 2018 at 03:33:32PM -0800, Eric Anholt wrote:
> This fixes bad color output. When I was first testing the device I
> had the DPI hardware set to 666 mode, but apparently in the refactor
> to use the bus_format information from the panel driver, I failed to
> actually update the panel.
>
> Signed-off-by: Eric Anholt <eric@anholt.net>
> Fixes: e8b6f561b2ee ("drm/panel: simple: Add the 7" DPI panel from Adafruit")
> Cc: Thierry Reding <thierry.reding@gmail.com>
> ---
> drivers/gpu/drm/panel/panel-simple.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-12 7:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-09 23:33 [PATCH] drm/panel: simple: Fix the bus_format for the Ontat panel Eric Anholt
2018-03-12 7:23 ` Thierry Reding
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox