lkml.org 
[lkml]   [2020]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.9 219/757] drm: panel: Fix bpc for OrtusTech COM43H4M85ULC panel
    Date
    From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

    [ Upstream commit 3b8095169982ff4ec2a1b4be61b7224bbef23b48 ]

    The OrtusTech COM43H4M85ULC panel is a 18-bit RGB panel. Commit
    f098f168e91c ("drm: panel: Fix bus format for OrtusTech COM43H4M85ULC
    panel") has fixed the bus formats, but forgot to address the bpc value.
    Set it to 6.

    Fixes: f098f168e91c ("drm: panel: Fix bus format for OrtusTech COM43H4M85ULC panel")
    Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
    Link: https://patchwork.freedesktop.org/patch/msgid/20200824003254.21904-1-laurent.pinchart@ideasonboard.com
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    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 7bd5ffe8c88f3..eabc9e41d92b4 100644
    --- a/drivers/gpu/drm/panel/panel-simple.c
    +++ b/drivers/gpu/drm/panel/panel-simple.c
    @@ -2941,7 +2941,7 @@ static const struct drm_display_mode ortustech_com43h4m85ulc_mode = {
    static const struct panel_desc ortustech_com43h4m85ulc = {
    .modes = &ortustech_com43h4m85ulc_mode,
    .num_modes = 1,
    - .bpc = 8,
    + .bpc = 6,
    .size = {
    .width = 56,
    .height = 93,
    --
    2.25.1


    \
     
     \ /
      Last update: 2020-10-27 17:11    [W:2.310 / U:0.828 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site