Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp580664lqp; Wed, 12 Jun 2024 09:53:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVvI8xX2HWmVKZ1PFdSQqpPLqcG1jIQZMUPzajmcZ6kcCp8owdjpVpsPtu6y5Flg1omHOZUC1UJYi6Nxcfl6MeUfyWDH1T6N9vc4kyKrQ== X-Google-Smtp-Source: AGHT+IGf89FaDCdTomZBCrH9bdJwmItpgsUsMOy/dHNTlZ1pltq/5pAU7Wb3E1E8zGZFLjdNh3a6 X-Received: by 2002:ac8:7c4c:0:b0:441:1354:6417 with SMTP id d75a77b69052e-4415ac050dbmr25373211cf.38.1718211192104; Wed, 12 Jun 2024 09:53:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718211192; cv=pass; d=google.com; s=arc-20160816; b=wlAI2fCsa62212U0uF8n2ETIHFDKqLN9FMpgunxDFuL/xV2jc2mfk1tyzTV1cKbz1H fQIIhxMkIghaIgVtpVHbjZGocSSSDCZ23jYEX0lh5+3p94kz/kTYO/EfQ5LvBuexmCmM RLV/h+5QIL7GBlCTo5O0nu8PH0K+xa7bmUrEa9BoX4V9YUBwWTWX8o6th7rydjIoGwrv WZUxwkUA7Od7rFxd4BsIwdgV03SMnO3z/1EMdHl90tX3x1ufbRylSyK+IhP+7JG7+kqT 3rQ5vm+qSInQbqGcFsseBaaWyCv4YC4y0IOflUC8/sjSF6anW/7ZAOgKpVmonzkmJjOo 6QcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=4lDWDL+MI8dXm/cLOrE2UQ6kio+8e5ilRQYq2zx3sQc=; fh=SxaVrx0rK28n1W2+Ubdm9g2LmW+6PP0/fC7DowMhViM=; b=gzmsv9m4xkdcQ/06wysZrAFjJ+X6wgSOU+16qxJx7WeghuV2glWF/CEu6CO6OcRqHL uJLzOWRMLnY1+ILKYr7oiUHCVX7bUZo0nhyHKjg9qFHb8a9yNOtQOmYCLHtmURTzS116 OxT+S7GVXCs82Er9d3qua8DigAdae0q8PN7ROVB9IUVt0xZuLpMVZsaluNYNeBq9ZQlW XqyTYgOvNwOoeqt4esemb22drAZH2edyGtM/vEBs0+dl02BLv1h3kr7ZTHHMKPYonUk4 SQ5oIw/Cof2syddJEUUd0ERClJHnYv8VVE04jrLSsWN+puGuRQK3SjOw4VhKwk8EZ4ov 1N/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jGBkoLvM; 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-211943-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211943-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-44153ce3a40si41649321cf.475.2024.06.12.09.53.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 09:53:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211943-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jGBkoLvM; 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-211943-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211943-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C00221C21A56 for ; Wed, 12 Jun 2024 16:53:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C326181CF0; Wed, 12 Jun 2024 16:53:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="jGBkoLvM" Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) (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 6EBEE181B9F for ; Wed, 12 Jun 2024 16:53:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718211185; cv=none; b=M4VGPz+YDupPdupw/wCvERltZPuSSuYahnNrjjeXEtBKABwC9tdgtN5JJUCCa0GngsSCB/zRpwdk0UUwnFsdPfVX2vaBDubnMVeeFctw8neBqT3Hi6NlFFQyYiH6GZfi4Zgvq5JJ94rTQtMW/l4Q5oN/tnv1T3Rru+hmTBB+S+Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718211185; c=relaxed/simple; bh=4lDWDL+MI8dXm/cLOrE2UQ6kio+8e5ilRQYq2zx3sQc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=LMMMr6Y8NX78jNB+rtzAiI1oL+MCdJlgEeW7QuIMR902PaeSFpOS4y2BXbJTyysEOKPh8tArBVWeXXLihO9vv1drVztSfNpZ/YV26lIYXJ1mtiKUBnZwwb0vrYY35/5EysnsIDEyJzqigeQ1EjmA6rOb6XX6OeSLv6ZK9kRfqx8= 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=jGBkoLvM; arc=none smtp.client-ip=209.85.222.173 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-qk1-f173.google.com with SMTP id af79cd13be357-795a4fde8bfso135643785a.2 for ; Wed, 12 Jun 2024 09:53:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1718211179; x=1718815979; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4lDWDL+MI8dXm/cLOrE2UQ6kio+8e5ilRQYq2zx3sQc=; b=jGBkoLvMAs/SQupsWFNbejAAfdQna1OTaHbfbnntgCUqpcIm/mTk8o86hs5V81FaaO OngKHrzYDiYrSf2g7JbwwIC7bnMjDDtgxgulqkcKTnQl9H6kpNcUovOiucHYCsJgX3fG cBe+2g0ZCQBlZM9tbHIG/NGkYwt3itw5zKrA4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718211179; x=1718815979; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4lDWDL+MI8dXm/cLOrE2UQ6kio+8e5ilRQYq2zx3sQc=; b=J1LTziGYkzjL6kzKPzqX7llY4DrT6yGxkxTTJdKwsaiLsUYx39J8XlJW7uu52UkkW6 6npg3iXT/gABcTScQruvtUDmFzxhyc6F7qu+wepPdMby564SQv6v8fXMVLHZdFeI/fTM WnnDQGMkCajO5wGhjJ3eyh+yJERwlPyD3H6ud5EfWNwlc7zI6xBvrTtj/XLbtjsBKXfX 9iPdxrDKluVx7RSmbFQbeDZ3k6Lv3x5vkMvhcrt4SowiyJ9YWLq6dtYREyiFtMVmNAcf oCz/V6zdbq3WxoyFO1xngcgJ/krOYvezHKW5mjeURCoSch4vHzDjK6jUiygcv4jq/RWB apiA== X-Forwarded-Encrypted: i=1; AJvYcCXGjSq6+pzV6iU1ndHd5Lj9kd05jUgWXqCvNNEus5fQncFyJt7DKyMOpLWTp0Hmij5DmVj7BXeOGwK3NZLIzw3bekz/Ptz9OpvXMdPD X-Gm-Message-State: AOJu0YwMPMtnaL+d8yjv/TpuekCcjKo5iK6/zyeiBfQSv4MiUYax1bA1 FmhB9WkuPp/76Jltvy7tcVS+evyPu06AG2t5aeYibUXwcI/6B878xe80nYaX3wcgfs2YQ2LBb9k = X-Received: by 2002:a05:620a:240a:b0:795:d442:2a59 with SMTP id af79cd13be357-797f6154513mr259894585a.67.1718211179404; Wed, 12 Jun 2024 09:52:59 -0700 (PDT) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com. [209.85.160.179]) by smtp.gmail.com with ESMTPSA id af79cd13be357-79581331ec0sm316703885a.16.2024.06.12.09.52.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Jun 2024 09:52:58 -0700 (PDT) Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-4405cf01a7fso5841cf.1 for ; Wed, 12 Jun 2024 09:52:58 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVkuyNzessX0LrKahI4KQHZV/jFB42mekaLb4xXO+pNy1KY5jV8KwXNN4gTaFTyqTriK4xdNjNDrZ7PcqoF6/xnGrr2A2i+zveSa0lg X-Received: by 2002:a05:622a:580d:b0:43f:a8fe:d5c0 with SMTP id d75a77b69052e-4415a221a1bmr4461961cf.25.1718211177899; Wed, 12 Jun 2024 09:52:57 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240611074846.1.Ieb287c2c3ee3f6d3b0d5f49b29f746b93621749c@changeid> <20240612-garnet-condor-from-saturn-1c51bb@houat> In-Reply-To: From: Doug Anderson Date: Wed, 12 Jun 2024 09:52:40 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] drm/panel: Avoid warnings w/ panel-simple/panel-edp at shutdown To: Doug Anderson , Maxime Ripard , dri-devel@lists.freedesktop.org, Neil Armstrong , Linus Walleij , Yuran Pereira , Chris Morgan , David Airlie , Jessica Zhang , Maarten Lankhorst , Thomas Zimmermann , linux-kernel@vger.kernel.org Cc: Daniel Vetter Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sima, On Wed, Jun 12, 2024 at 8:13=E2=80=AFAM Daniel Vetter wro= te: > > > > I ran the coccinelle script we started with, and here are the results= : > > > > > > ./drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:1640:25-39: ERROR: KMS driver v= mw_pci_driver is missing shutdown implementation > > > ./drivers/gpu/drm/kmb/kmb_drv.c:621:30-49: ERROR: KMS driver kmb_plat= form_driver is missing shutdown implementation > > > ./drivers/gpu/drm/tiny/arcpgu.c:422:30-52: ERROR: KMS driver arcpgu_p= latform_driver is missing shutdown implementation > > > > Sure, although I think we agreed even back when we talked about this > > last that your coccinelle script wasn't guaranteed to catch every > > driver. ...so I guess the question is: are we willing to accept that > > we'll stop disabling panels at shutdown for any drivers that might > > were missed. For instance, looking at it by hand (which also could > > miss things), I previously thought that we also might need: > > > > * nouveau > > * tegra > > * amdgpu > > * sprd > > * gma500 > > * radeon > > > > I sent patches for those drivers but they don't go through drm-misc > > and some of the drivers had a lot of abstraction layers and were hard > > to reason about. I'm also not 100% confident that all of those drivers > > really are affected--they'd have to be used with panel-simple or > > panel-edp... > > Aside from amdgpu and radeon they're all in -misc now, and Alex is > generally fairly responsive. Sorry for not keeping up with things, but can you point to where this was documented or what patch changed things so that these drivers went through drm-misc? From the MAINTAINERS file I see commit 5a44d50f0072 ("MAINTAINERS: Update drm-misc entry to match all drivers") and that shows several of these drivers as "X:". As far as I can tell that means that they _aren't_ handled by drm-misc, right? Maybe the decision was made elsewhere and MAINTAINERS was just not updated, or I'm not looking at the right place? I checked drm-misc-next and drm/next and, for instance, "tegra" and "kmb" still show as excluded. -Doug