From patchwork Mon Jun 7 20:08:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 455379 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp3042052jae; Mon, 7 Jun 2021 13:08:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxo65O/BjcDP1NUsOUWz6wTSHfcKImC32oWwH4prNdks1/0CJSkJpfT9edbpyrF3wg9SGgk X-Received: by 2002:a63:6982:: with SMTP id e124mr19302879pgc.439.1623096487252; Mon, 07 Jun 2021 13:08:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623096487; cv=none; d=google.com; s=arc-20160816; b=aAeeaTpbGGxu39MHoNTKWr+v6jgQ57lgAoQq6xaupjcEjvqTyClqwINrQ8NX9nbGmr mQX+YB5RTn7+uB30TtTjwsJIeaeR9xgoboOFmSIMRP/Eiq080fcbkuIqw1UUHla/bulh AK/cggqeFdXnF2IZqsnNNIXE7GcuB+UBh92mW9ifvSavjHnve7VDCgAkX04TiKdeCXsL TFxiOCzVoBWfpGklLFzeCoOlRAwuqf2IaaUWnrKtMd0ClgqD7YfbAohg3P0T+htFj83Z rOQiryVa2qkbHnK4LXLsZGhhmXYI820Xz1UzExa9kADWBYabs/GdieMCSvybmakskRjl rkVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :delivered-to; bh=R/aSEseny+t4skNYeNp5Q/7qLv7ntl+DczO74CeA9u0=; b=mROlUqewcaMy+CRXy+ODPK9IZmhf3Wbh3FGZc/bLj/oSU5P33ADsvAR7lReAYdHFB1 mLW7Qf+H1dlYs0yKeTEDSbV/cW8iHCfAxbiFHeSofWb8Q65d7sXglESpsl/7gNgEZ5Ux yjZ5aqqXmwvR24VW+0DIDSVgXBrR+zOmINEhw0diBD9fZoJnDW1shdU7BYe12osT39bq AZbSMzIp94hTYGr3tUsaWtjQSTdChygBnokLZPrdAbs7XhNC579k1CWl4v17hZhBv6XE 8dfaQH1Ih2lyOowj8pJX3gvaci6oxaX45FaXLy9Q6fitr7V01W7lqqPhh681G7ussOvG EWEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=mJ5RMqSN; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id f10si2191179pgl.409.2021.06.07.13.08.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Jun 2021 13:08:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=mJ5RMqSN; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 748476E9F6; Mon, 7 Jun 2021 20:08:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by gabe.freedesktop.org (Postfix) with ESMTPS id 488576E9F6 for ; Mon, 7 Jun 2021 20:08:03 +0000 (UTC) Received: by mail-lj1-x233.google.com with SMTP id r16so4734450ljk.9 for ; Mon, 07 Jun 2021 13:08:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=R/aSEseny+t4skNYeNp5Q/7qLv7ntl+DczO74CeA9u0=; b=mJ5RMqSNfv8CRhhy3IvBDHt3GvF32ri3Q6Fyz4VszmaGfp07SQBWbF9j2U/VxCAwII wi4AVP3g6Pm0nhqumM0WfuHcYLsvze/VsKIZGG2ukDgFvQV1MxsB5H3vkRgPEswdJewP 8qAtmWH/q7cmLhYlWgkDxDTV+fq8DzVWqNzfHxzpKKcJzLj6Q5DD0XWd6exHGHboW1lR +atupy1ULl4ypR83ZMpp7EkofGelEzk/napseuAokj5NEfSVjlyNCiwcjf5qhG6ybL9w AODi54L7fwnXWlTcw5tWfXCiBLHamSvROmAEuNrYukzm0gTEDZBLRDojaOofOgsYZfHh jNrw== 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=R/aSEseny+t4skNYeNp5Q/7qLv7ntl+DczO74CeA9u0=; b=R7sap2FcZJPa9Gua1bAGDdj4N+Q0f3qmPCfDVxXJwzoz6+VPLJ9ObcS3+Jww/EdBK9 Uw4FtCuHZLopfeUJCOWa77i+sIGY7oUBRv7FlG7Orfux1MqFl9mkAdvTtpwaF2Zki4Rq IAv0tivlK15vu2NIFboIT+/hArqyEiRGP27dm4PqGijOKkjq6qYuWioruVu1xUcLceBs VJRKS7v0pdUqKsdGeFUPf3GyK/JoXSUOMqyes7cy0Cb03YH04D5PyMBq46e8I2bMKBdJ 7wYMWqB9Qeh9dTBkROJnSjKPD1hco9fwnokJfYwhZzI1uAp+sEX0vXRUolSSe91GD8PU z3yw== X-Gm-Message-State: AOAM532ZWtL5f7VhBfLBPGy+1yc7WASGAK+R/cpZBCDNEYBzzdXmPOUZ fQM8WtLrWcOjKYw2MRnukhHpSQ== X-Received: by 2002:a05:651c:210a:: with SMTP id a10mr15911071ljq.429.1623096481679; Mon, 07 Jun 2021 13:08:01 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id g16sm1249315ljn.103.2021.06.07.13.08.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Jun 2021 13:08:01 -0700 (PDT) From: Dmitry Baryshkov To: Thierry Reding , Sam Ravnborg Subject: [PATCH] drm: panel: simple: specify bpc for powertip_ph800480t013_idf02 Date: Mon, 7 Jun 2021 23:08:00 +0300 Message-Id: <20210607200800.2147207-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 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: David Airlie , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Specify bpc value for the powertip_ph800480t013_idf02 panel to stop drm code from complaining about unexpected bpc value (0). Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-simple.c | 1 + 1 file changed, 1 insertion(+) -- 2.30.2 diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 4e2dad314c79..e273bc2ab6b1 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -3317,6 +3317,7 @@ static const struct drm_display_mode powertip_ph800480t013_idf02_mode = { static const struct panel_desc powertip_ph800480t013_idf02 = { .modes = &powertip_ph800480t013_idf02_mode, .num_modes = 1, + .bpc = 8, .size = { .width = 152, .height = 91,