]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm: panel: Fix bus format for OrtusTech COM43H4M85ULC panel
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 12 Aug 2020 22:02:44 +0000 (01:02 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2020 09:07:28 +0000 (10:07 +0100)
[ Upstream commit f098f168e91ca915c6cf8aa316136af647792f2f ]

The OrtusTech COM43H4M85ULC panel is a 18-bit RGB panel, set the bus
format to MEDIA_BUS_FMT_RGB666_1X18.

Fixes: 725c9d40f3fe ("drm/panel: Add support for OrtusTech COM43H4M85ULC panel")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sam Ravnborg <sam.ravnborg@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200812220244.24500-1-laurent.pinchart@ideasonboard.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/panel/panel-simple.c

index 7debf2ca42522015063e80b2c2c583e4818594e6..85fa4027d82d7e54cab72a09a42db9a99c914289 100644 (file)
@@ -2867,7 +2867,7 @@ static const struct panel_desc ortustech_com43h4m85ulc = {
                .width = 56,
                .height = 93,
        },
-       .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+       .bus_format = MEDIA_BUS_FMT_RGB666_1X18,
        .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,
        .connector_type = DRM_MODE_CONNECTOR_DPI,
 };