Message ID | 20240216123111.1.I71c103720909790e1ec5a3f5bd96b18ab7b596fa@changeid |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-69300-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp770460dyb; Fri, 16 Feb 2024 12:31:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWf0mmPodto7PXLtSBW1vDWsTs9IHIHscGNMw6QbEQy9s5AzgOL9pJCvKAUMIBK5uBbvZ5sUQgNdoQd3TA9IZq98WNRNg== X-Google-Smtp-Source: AGHT+IGy8VRQ/lpjU3KJSsgLzfLYPPxTDQmH7H/ZFxuhnX7uCGysGkaYxZWli8S7eNSo4YK/G5sc X-Received: by 2002:a50:fb83:0:b0:563:d16b:a04f with SMTP id e3-20020a50fb83000000b00563d16ba04fmr2466122edq.42.1708115500425; Fri, 16 Feb 2024 12:31:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708115500; cv=pass; d=google.com; s=arc-20160816; b=UTHqgureftVb0L2vcUJiIkdItn7JjAC9Nz4GwT/T+t+kQyrFbeBqfLU3ZJNLgNIsF1 G2hLsXOfHKODaJLjqjIP4hJ4Mu2sqJLJpImxTwhBxqdnSAnIdGpawBo13raE+sawbiby s7DqSZ/eGKS8SUHBtri3SL4jRcrycPyxTmuGlyaB992UPFh9YXimQqUyZiXHXN0iiw6V JVP2t1Djyu39VQZ2kYjUr1KQ6ChIe8WNBxnTjA9X08VPGpPwN8qLpX2/e9n5WqGKyTXZ mwhLJFua/JnSxW9PK9ElU/0Radt9yMFtt1/UBP/xOdxmtl0xv7QWetylNatdVCBC0rDH HWtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=t1QGMxYLAPKWTt9tAmquOnzICTheF4ZELz33st39yQM=; fh=WSgPaGgYkRXvDH2BIYhwbfuMnQu2G0eg9H/7IyzuMk0=; b=pZDJI2++WnF2izejxollgrzJ/3Q3MR9oIEgrEZMqvX4dddKNHDsRbKcnF87w+abPa9 69Da+uU9roE9xR1sXCbFmOHcT76DrLsfALCc/8D5Q/r04+SchB0LNPI6gmX+KGyB4yT8 Kr4cvFneXNN1OKX6Q23bB0InP7pbpLF9QLH7KNefNXDnoqGNlWwBOcD6vgWrf3h56NvY k9pJ7jrvohhoUqiNgcmfW04CWhREdY18Fw2jU+LhG4aV3E9laY0ZdhW1bB0FO+I6Qev6 pwax2ACNFgmSHIjVWFqGWvSK+PbKTzZcqzLqLptuTRPAAEhAVwKlZSPTqFkt6kzvsm4k psqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=J2Z2o63U; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-69300-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69300-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h7-20020aa7c607000000b005640b40a448si242766edq.657.2024.02.16.12.31.40 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 12:31:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69300-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=J2Z2o63U; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-69300-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69300-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CC9701F2312C for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 20:31:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C11113AA59; Fri, 16 Feb 2024 20:31:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="J2Z2o63U" Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0249D1E536 for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 20:31:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708115485; cv=none; b=cp67WWEjpsRJgpqeFVB4EFZl+terwhBdGOaQF8rn2arxRZe5IfFnDwLXQZlX/2bF1GuANoxm/RMasXA0ZQlMpcIvPjtw2Gad6xlBXYXNmoUMqxBcQ0KUcHGYgN55/1A6RnaKP790FbF3LP0TXEF+3QfleqcBLI+OlB/6niNM3JI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708115485; c=relaxed/simple; bh=KD/xMlLiNQXo7Q4Kn2WpaaF0KgyaBB77SUJTldTsqws=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nnOVkTxQsTj2an7nNHOC8TfRHaqdEP/SxBCUXMxI+MengVb6+p4OyB8Cf7tNpQIUOLQF2JpXWMOty6nxpHykS8+joExBqlmzYLzkxEXmdMyFHvfG5PjcQp4h0PUk6XI1QiF4VS8NP362MeL1F3+8SCZLMp8lbds45ZKpVF8clwk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=J2Z2o63U; arc=none smtp.client-ip=209.85.214.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-1d51ba18e1bso25786265ad.0 for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 12:31:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1708115483; x=1708720283; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=t1QGMxYLAPKWTt9tAmquOnzICTheF4ZELz33st39yQM=; b=J2Z2o63US/5iqJTwJGH0k5PnrmBpu5ZWbOwTZN+SrwhBsMTL1mw3ETFts1+Nhy4Xli KWpFyxKyNdhL87LGpy3MqnMp9CfW0YbUVZqZ8M0wh+CaqnuVKcSQm4k6Ogpy7yMNrEy9 4IxT+PczUBhjQ4Zf24OPy/UogEH66mH8KBiUY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708115483; x=1708720283; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=t1QGMxYLAPKWTt9tAmquOnzICTheF4ZELz33st39yQM=; b=q5xxk/JMMdl7lRaliCBE7YfAUMzf3OKKQhfcFydyWkBglHjw75BRq/4kmdDwZrsbuY o3fbvCFcyBALv3iZx0gnhEtprS9C3KHpBvBtSUTAAjoL5RtF6dn7wNKpm9mwy3N95SsW 7oWmOqM0GgTv1RMKDI7GjSkUH+7Pf2IPnMHI42jWznqRGLSNgwCSUgvXwbk56OzOhMw/ wO0y+H3CK2UEluil15J+LE1uEP2u51MvXTl1aj7T2Jd8eqJged2if0L7h2gUpF4wxEY4 ECim4EL287CRD0uGT3xJ7XyBra6nHxPOeH9de2BiheqluLYNBsXLSzhwBBL0uphoT6Ws HAww== X-Forwarded-Encrypted: i=1; AJvYcCV8ZX1vZars4TU13edqLw1VipjPLkLlCLIwCYDgaIALvpFwo3sDQ7ESVLthymFNqhu7+k7rT3HhSd3BfwwSzE7qmh+XWgSjHFvAhd5Q X-Gm-Message-State: AOJu0YxLlKt/w6utGO5sPIBcr5H4tlsh6te52CkkZzlhCt7UL0gbM83G 0AMePbpVVT7GtnaeeMjPQRlbKCraN9yyaQFvNqrcWzyyj6ac2PcQhLvpcOsOkg== X-Received: by 2002:a17:902:d486:b0:1db:b36c:7165 with SMTP id c6-20020a170902d48600b001dbb36c7165mr2073885plg.14.1708115483260; Fri, 16 Feb 2024 12:31:23 -0800 (PST) Received: from dianders.sjc.corp.google.com ([2620:15c:9d:2:b6bd:4419:377:da7a]) by smtp.gmail.com with ESMTPSA id f19-20020a170902e99300b001d944b3c5f1sm256966plb.178.2024.02.16.12.31.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 12:31:22 -0800 (PST) From: Douglas Anderson <dianders@chromium.org> To: dri-devel@lists.freedesktop.org Cc: Stephen Boyd <swboyd@chromium.org>, Douglas Anderson <dianders@chromium.org>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Jessica Zhang <quic_jesszhan@quicinc.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Neil Armstrong <neil.armstrong@linaro.org>, Sam Ravnborg <sam@ravnborg.org>, Thomas Zimmermann <tzimmermann@suse.de>, linux-kernel@vger.kernel.org Subject: [PATCH] drm/panel: boe-tv101wum-nl6: make use of prepare_prev_first Date: Fri, 16 Feb 2024 12:31:12 -0800 Message-ID: <20240216123111.1.I71c103720909790e1ec5a3f5bd96b18ab7b596fa@changeid> X-Mailer: git-send-email 2.44.0.rc0.258.g7320e95886-goog Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791088918827158271 X-GMAIL-MSGID: 1791088918827158271 |
Series |
drm/panel: boe-tv101wum-nl6: make use of prepare_prev_first
|
|
Commit Message
Doug Anderson
Feb. 16, 2024, 8:31 p.m. UTC
The panel on sc7180-trogdor-wormdingler and
sc7180-trogdor-quackingstick hasn't been coming up since commit
9e15123eca79 ("drm/msm/dsi: Stop unconditionally powering up DSI hosts
at modeset"). Let's add "prepare_prev_first" as has been done for many
other DSI panels.
Fixes: 9e15123eca79 ("drm/msm/dsi: Stop unconditionally powering up DSI hosts at modeset")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
This of course gets into debates about getting a nicer solution that
doesn't involve adding "prepare_prev_first" to every DSI panel out
there, maybe building on Dmitry's work [1]. While it would be nice if
we could get there, getting this landed is easy to backport to stable
trees and gets the panel working again.
[1] https://lore.kernel.org/r/20231016165355.1327217-4-dmitry.baryshkov@linaro.org
drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 2 ++
1 file changed, 2 insertions(+)
Comments
On 2/16/2024 12:31 PM, Douglas Anderson wrote: > The panel on sc7180-trogdor-wormdingler and > sc7180-trogdor-quackingstick hasn't been coming up since commit > 9e15123eca79 ("drm/msm/dsi: Stop unconditionally powering up DSI hosts > at modeset"). Let's add "prepare_prev_first" as has been done for many > other DSI panels. > > Fixes: 9e15123eca79 ("drm/msm/dsi: Stop unconditionally powering up DSI hosts at modeset") > Signed-off-by: Douglas Anderson <dianders@chromium.org> Hi Doug, Reviewed-by: Jessica Zhang <quic_jesszhan@quicinc.com> Thanks, Jessica Zhang > --- > This of course gets into debates about getting a nicer solution that > doesn't involve adding "prepare_prev_first" to every DSI panel out > there, maybe building on Dmitry's work [1]. While it would be nice if > we could get there, getting this landed is easy to backport to stable > trees and gets the panel working again. > > [1] https://lore.kernel.org/r/20231016165355.1327217-4-dmitry.baryshkov@linaro.org > > drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c > index c4c0f08e9202..bc08814954f9 100644 > --- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c > +++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c > @@ -1871,6 +1871,8 @@ static int boe_panel_add(struct boe_panel *boe) > > gpiod_set_value(boe->enable_gpio, 0); > > + boe->base.prepare_prev_first = true; > + > drm_panel_init(&boe->base, dev, &boe_panel_funcs, > DRM_MODE_CONNECTOR_DSI); > err = of_drm_get_panel_orientation(dev->of_node, &boe->orientation); > -- > 2.44.0.rc0.258.g7320e95886-goog >
Hi, On Fri, 16 Feb 2024 12:31:12 -0800, Douglas Anderson wrote: > The panel on sc7180-trogdor-wormdingler and > sc7180-trogdor-quackingstick hasn't been coming up since commit > 9e15123eca79 ("drm/msm/dsi: Stop unconditionally powering up DSI hosts > at modeset"). Let's add "prepare_prev_first" as has been done for many > other DSI panels. > > > [...] Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) [1/1] drm/panel: boe-tv101wum-nl6: make use of prepare_prev_first https://cgit.freedesktop.org/drm/drm-misc/commit/?id=42a7a16bedc991190310a02dd202e29cfac52525
diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c index c4c0f08e9202..bc08814954f9 100644 --- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c +++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c @@ -1871,6 +1871,8 @@ static int boe_panel_add(struct boe_panel *boe) gpiod_set_value(boe->enable_gpio, 0); + boe->base.prepare_prev_first = true; + drm_panel_init(&boe->base, dev, &boe_panel_funcs, DRM_MODE_CONNECTOR_DSI); err = of_drm_get_panel_orientation(dev->of_node, &boe->orientation);