diff options
author | Eric Anholt <eric@anholt.net> | 2018-03-09 18:33:32 -0500 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-03-12 03:23:01 -0400 |
commit | 5651e5e094591f479adad5830ac1bc45196a39b3 (patch) | |
tree | 55b4a45abd3a67a5429d500b85cf61168991fe8b /drivers/gpu/drm/panel/panel-simple.c | |
parent | 1d49f2e546a5a3258a88f85a1c04fd6feb6def37 (diff) |
drm/panel: simple: Fix the bus format for the Ontat panel
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>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180309233332.1769-1-eric@anholt.net
Diffstat (limited to 'drivers/gpu/drm/panel/panel-simple.c')
-rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { | |||
1597 | .width = 154, | 1597 | .width = 154, |
1598 | .height = 83, | 1598 | .height = 83, |
1599 | }, | 1599 | }, |
1600 | .bus_format = MEDIA_BUS_FMT_RGB888_1X24, | 1600 | .bus_format = MEDIA_BUS_FMT_RGB666_1X18, |
1601 | }; | 1601 | }; |
1602 | 1602 | ||
1603 | static const struct drm_display_mode ortustech_com43h4m85ulc_mode = { | 1603 | static const struct drm_display_mode ortustech_com43h4m85ulc_mode = { |