From patchwork Sun Jul 25 17:28:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 12398211 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9F77C4338F for ; Sun, 25 Jul 2021 17:28:36 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6CAE560F11 for ; Sun, 25 Jul 2021 17:28:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6CAE560F11 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6A5C76E435; Sun, 25 Jul 2021 17:28:35 +0000 (UTC) Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by gabe.freedesktop.org (Postfix) with ESMTPS id E2E546E435 for ; Sun, 25 Jul 2021 17:28:33 +0000 (UTC) Received: by mail-pl1-x62b.google.com with SMTP id c16so3296269plh.7 for ; Sun, 25 Jul 2021 10:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=U1qSxIQbiVdVt/lEXiEIEXng9XXzwdSD4TYYp63Ch7U=; b=MKyAWRu4ceLjKVKJJMSZ+JZdZt7XWJKsj/dse7md4NRBzmQjhicS6c1HSejfjkqJ3A ybwQUlJOvXLA8nsbVW2nSzMu8bTlBuiVACURkC9hWSxBBL9HlBXL1r+FfdBDiw2ZB9Lq 9ptgoE/OCy+hfAn//XiNQVfxFRITmReZtMPOw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=U1qSxIQbiVdVt/lEXiEIEXng9XXzwdSD4TYYp63Ch7U=; b=NX6NX9BVbw/txD2KxIiB0KvLLsbF9BaGP/VU6y1SJ/Zph4t5sYPZFJFZwaH8RHNvxx FZUsRTnaKeqAtsag5wo0T8TGAxP/BlPbE6xGyjjHWLXb6yigD9peovss+8iZkbdknvih 7JDD7pyvjK9vTywVFTf2m3c2OelAaR2/wUkKAVKNKVMi1OZMxOpcm/6I6OV0FMl1wl2j 17QTcr/7GfUagRO4Y1Kxxk5HjaC26hDxpRHUdWLEWKWx3VxlZH5PHUxGXQIjKfTKr+BU 4/A71ybZSzgZVq8kKDt39DnemARqDPezzHJthVW8mqbQNiwI3/zNuG0Qqkkzh2dBmC3I rWoQ== X-Gm-Message-State: AOAM532ZtYhbK39zwnwKkQcQMSqghNcoWVC4EiGEARxaVS4cZWRmL5/O BhvtPOmtHNr9BZPANMnVHMjjsw== X-Google-Smtp-Source: ABdhPJzoM5i38zUrzezGU7JigZkm4Cm4VM2JAjeKj2jGQmuMgKF+Vhl60TI8vyRiwEe29MIzVqysmQ== X-Received: by 2002:a17:902:b692:b029:12b:e0b8:3415 with SMTP id c18-20020a170902b692b029012be0b83415mr7900893pls.32.1627234113452; Sun, 25 Jul 2021 10:28:33 -0700 (PDT) Received: from e-ThinkPad-E14-Gen-2.domain.name ([103.161.30.206]) by smtp.gmail.com with ESMTPSA id 143sm14897026pfz.13.2021.07.25.10.28.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jul 2021 10:28:33 -0700 (PDT) From: Jagan Teki To: Thierry Reding , Sam Ravnborg Subject: [PATCH v2] drm/panel: panel-simple: Fix proper bpc for ytc700tlag_05_201c Date: Sun, 25 Jul 2021 22:58:22 +0530 Message-Id: <20210725172822.890363-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jagan Teki , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" ytc700tlag_05_201c panel support 8 bpc not 6 bpc as per recent testing in i.MX8MM platform. Fix it. Signed-off-by: Jagan Teki --- Changes for v2: - none 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 9be050ab372f..6f4151729fb7 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -4164,7 +4164,7 @@ static const struct drm_display_mode yes_optoelectronics_ytc700tlag_05_201c_mode static const struct panel_desc yes_optoelectronics_ytc700tlag_05_201c = { .modes = &yes_optoelectronics_ytc700tlag_05_201c_mode, .num_modes = 1, - .bpc = 6, + .bpc = 8, .size = { .width = 154, .height = 90,