]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/panel: simple: Fix the bus format for the Ontat panel
authorEric Anholt <eric@anholt.net>
Fri, 9 Mar 2018 23:33:32 +0000 (15:33 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:50:46 +0000 (07:50 +0200)
commit3d363ad0de093c27b2c00a5a5247f4db4b36ff6c
tree75147a2f80185930d253f76846ccf153a51d05b1
parentbc09bf874d6c7d262b92525dcdf07868786cfed9
drm/panel: simple: Fix the bus format for the Ontat panel

[ Upstream commit 5651e5e094591f479adad5830ac1bc45196a39b3 ]

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
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/panel/panel-simple.c