From patchwork Thu Nov 11 09:41:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1735 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A94693F07B for ; Thu, 11 Nov 2021 10:41:15 +0100 (CET) Received: by mail-pl1-f200.google.com with SMTP id w4-20020a1709029a8400b00138e222b06asf2563440plp.12 for ; Thu, 11 Nov 2021 01:41:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636623673; cv=pass; d=google.com; s=arc-20160816; b=JEI/R5SHvkkQtpRJbwh+2wpyjaCKql2PC9HfNHv8fhP1cVf+Q4GvAk9fe9pncIEk92 4DE6V/nxL2DZklWb+Y99ITr/e7z0UTHcwOhnL9WnwXI+0NuGENQRC5Bugr38yAAlHXOa m5Eq0B6lr7Y+axHBJ0D+2qL0riD3EuXp9JhgSQQZ53vNzODBI6niEQ2VKU2uFgVa2Kmg yiV4497UYh8Zd4cNf8gnoCWPctDkfuXPnsi2H6QP0hTVqu+SrdLlzmvEv1IelAb0IteJ yk4tTWbvH9MlomXNr/Pfb/IwDQANN0334Ros36genWdRafqmiABYh1ZiRxV8v8nlBwRg 1YXA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=bOFAShMuQNxcEK4QTopQuRD9mNfieSgVQDbMGsYIN7E=; b=xEr3P8DmMDwHBeu8AGegw7KHA1veEA1AehVur2vthSt67R6iZ7gozDi9fP5xtsCkac 6U5hpd39/oo7JuG46ZJkrlM4BwgoQZsz4EGdIJa/owdR1pU7v9h8q34hmPcleT7sP5HB BfbC6lFfWaz2I0/W57GlNU9GrYWcYFLuaJ4pK2QPgILhTh4EiWMyZR2ua3GPWmW76FuT 8ec56zakYvUNNxraYxMEuKK93zWVgOnWVSNbGGxWDuAdT0QOXmXmShXdtceU9/YZ51dZ fI5MxWOU1si0XnTtivxykLZO+q14WMPXuY3ShvK/3c0RCCsCGWRYskgB8UsQN5IL6HgM D/qA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=o4Eh7jUd; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=bOFAShMuQNxcEK4QTopQuRD9mNfieSgVQDbMGsYIN7E=; b=SSTWxfW2NHL2uu6RjyY2TmuDQ6+KwHEqVg8MfRbpon/Fnq49shasnn+c/953Zckrxz lR/vpdHczWU2vuegZVqJTPgZTVFI/nI98T0AvgwAeB7m2RCDX14aQ5KfUD7oGLMOTEKr lsrGbwmRCgECVtFqmXm6mL2LTdTgw9JtTL9eQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=bOFAShMuQNxcEK4QTopQuRD9mNfieSgVQDbMGsYIN7E=; b=KEME9bv3cmTML0c6KQUD3eEtzgnxirn4UdOUX4wR3pqIlpNBNvuv77uAGCebQgujTo HkjYeAEIh6DEJl0JRuGcHUQoA0mvnyJpuLLqSCl3e2JW7wZH2US1V1AI2eICFQ6w91sq bNRzKP7yi9FrZWqGtMQlpBRoXzpwtUqrJ8CmGM2DSR4U5W1Fr3vNS8IWY8BnjGW+5ea2 aN1o7y9XLaay8KEbL4B3zgc5YphLKlfe0dMLUd6n5fvxDFC7q6YuXVmzgUDSqjeKWBoe jRhclfsTfPE5XVngCXK9LehrWUZRtvapgp7SwFWf4flgTgn8WKhIehD7K6djeY5lUu9V WYFw== X-Gm-Message-State: AOAM532CrTGGagqwNzzuSSZvK2ldZaG6RpvCF63gznBW8rAMKd3QJdxY vWjMMzyJ4sKz8yIWFywS6723B0Qq X-Google-Smtp-Source: ABdhPJz+bPKUQqQ5qAstXmvWoHXj0dm2axPoeJNY4OODXszfYH/YMiT9XU7AfUl5dtKGv716K2Pccg== X-Received: by 2002:a17:90a:9294:: with SMTP id n20mr6643747pjo.69.1636623673409; Thu, 11 Nov 2021 01:41:13 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:4e03:: with SMTP id c3ls776092pgb.1.gmail; Thu, 11 Nov 2021 01:41:12 -0800 (PST) X-Received: by 2002:a05:6a00:230d:b0:49f:b8ad:ae23 with SMTP id h13-20020a056a00230d00b0049fb8adae23mr5531190pfh.80.1636623672646; Thu, 11 Nov 2021 01:41:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636623672; cv=none; d=google.com; s=arc-20160816; b=sHGKDQtiW1Jv6GmSELv2f82XFp3iAtNnNLVSniVDPyEztiA32gvrzyZtJgNfOxZauA qx8S90ThJ972b5H6ux6ACBNu4dm0w+wr7uPdBOSiQhlTYUhWkpcUe5y60ApO6OQ0tB7D wV16+czrM4BQlmuIVBBxnp7kn+VTbUhnmwXVkdSsh3wM3AtZzF/mn8B6jjH841MGjpwm zwhjkqV/+OQG+lFJUVnsdaQp/MdLsJlysvk7ZFaaLQP4zO2ArE1lJ8n/CxUmfCXvQSvb 2owAEIUUDSB6Em26SryHz1yMD21N4IQcBewOQna1Q67Z+mh3mwpNsKFZXSbG864gu4vq sAWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=MLJ7btGIMbKSDG74MUavRRNSAjzlOSavbNr/B+lyI8g=; b=V5b/LWTGC9Y4l7pDIiN3b5QSPcZkK+VTpBa2TgBcipGmgqcYwvOGzNseFgWIj31/hy AODrYb/soUKpQifl3dw9YxO9nXZ8UC1BSe8uWLagBv7iLldUHQRzCMaa2FBOir2HaQS5 4iFm/JLjRz9LgktV0/o+StA94RggZWJsogTr8hfPajxepLkjI3NMuLO0bcilCPeXQPXp qD2/GgKykw7FInEktaUk6EgNf3q2J/Pej0nLqC01hKExQ8IP5dbeeHANE7zjTn31BwLP 06b4RbFOlLZlmHCDdg7HsVV8hM4WGLyVQZks2QNqB1Uyvwpzt7Zewxmk2ZbiST72ojyr Zn9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=o4Eh7jUd; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id p20sor1376389pfw.16.2021.11.11.01.41.11 for (Google Transport Security); Thu, 11 Nov 2021 01:41:11 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a63:8b41:: with SMTP id j62mr3787834pge.420.1636623671430; Thu, 11 Nov 2021 01:41:11 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:3041:135c:4e21:846c]) by smtp.gmail.com with ESMTPSA id oa2sm8045851pjb.53.2021.11.11.01.41.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Nov 2021 01:41:10 -0800 (PST) From: Jagan Teki To: Thierry Reding , Sam Ravnborg Cc: dri-devel@lists.freedesktop.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH] drm/panel: panel-simple: Fix proper bpc for AM-1280800N3TZQW-T00H Date: Thu, 11 Nov 2021 15:11:03 +0530 Message-Id: <20211111094103.494831-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=o4Eh7jUd; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , AM-1280800N3TZQW-T00H panel support 8 bpc not 6 bpc as per recent testing in i.MX8MM platform. Fix it. Fixes: bca684e69c4c ("drm/panel: simple: Add AM-1280800N3TZQW-T00H") Signed-off-by: Jagan Teki Reviewed-by: Robert Foss --- 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 eb475a3a774b..cf3f21f649cb 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -719,7 +719,7 @@ static const struct drm_display_mode ampire_am_1280800n3tzqw_t00h_mode = { static const struct panel_desc ampire_am_1280800n3tzqw_t00h = { .modes = &ire_am_1280800n3tzqw_t00h_mode, .num_modes = 1, - .bpc = 6, + .bpc = 8, .size = { .width = 217, .height = 136,