Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3179592rdh; Mon, 27 Nov 2023 08:04:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IGABQ+fXIMnCVVvL7lfpi6r6H3b9ChMDOW2erz6q5GXlUfBY+rdPP+0qMqh7dGoqtrG0slO X-Received: by 2002:a05:6808:309a:b0:3b8:4d71:6cd1 with SMTP id bl26-20020a056808309a00b003b84d716cd1mr17771602oib.8.1701101068165; Mon, 27 Nov 2023 08:04:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701101068; cv=none; d=google.com; s=arc-20160816; b=Xy1zuqn/jQxV5cbkWmvCWbX5T1Hn0daPTn8+Y99fRh6qB8dW5JXDIzXBxVEKOrmjHx OfHTbP7R2jvVSJk6E5to2Co8JbjwTKszDB7NeWOVbBK3Lh7NJl0m96vCemm5yKw4eCOU 415vJ3/Ywf2+FVK7X61EDyOFlho5ocrtcelubOjO/XG3H4S6OOGsIR5E9SW5s/cyJXAw lpiSKju8allSBumtaKy2gUznCoTxTKC9E3L58AmhHFELbFAKl2+2GJWAYypN/8eW311u boePcXHeoG/6Cwuwc420iVg2AjJAsyc9hXIzKVCoaYEw1t84caixSsm/urNKnT9N7ZCD SXxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=C7kfcTFnc1EIcTrfufgAiSWZaBI8ZkU3ldDxmrr3WA8=; fh=XX5P35Cc+5bPY0OsAmuRlRMFoSIt/xXfvcbH+4JgkR0=; b=qIN8lzHDH2AWIF61lz58kZnUUpgt38nOaJK6Solq/M9pH3JNs/kZxOwedf9g2lXEFA f2x7YQDOOuo6Wh6gXq5qRHPjxl1u5o2PtpomZ41PDyuc+u3/qeX8AGe98zl2XaMkOA3d OznI3W6jZEwD2rhzMrSNIoVstoGT3w3QeIPs30i9N78AncRUu5+ArnHrjcgunkOhgB1f ypEsf0enHECRe5oLLcPgzmJlyNU+H8IdbCsYiNP2Ruv/zQK10VXl4xysaW13NnhlCLIs hcA0ldEYUMrLGB19twdc+Vu9TAedKvPJoWqa9pfDG53l5xMO7TTI9AxsSx9QiHQVsN7N Db7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SysesZok; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id cb11-20020a056808320b00b003b8515590basi3768571oib.307.2023.11.27.08.04.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 08:04:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SysesZok; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 924E180965A1; Mon, 27 Nov 2023 08:04:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234297AbjK0QED (ORCPT + 99 others); Mon, 27 Nov 2023 11:04:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234289AbjK0QEA (ORCPT ); Mon, 27 Nov 2023 11:04:00 -0500 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB23EEA for ; Mon, 27 Nov 2023 08:04:06 -0800 (PST) Received: by mail-yb1-xb2e.google.com with SMTP id 3f1490d57ef6-d9beb865a40so3916236276.1 for ; Mon, 27 Nov 2023 08:04:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701101046; x=1701705846; 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=C7kfcTFnc1EIcTrfufgAiSWZaBI8ZkU3ldDxmrr3WA8=; b=SysesZokp5xWO/Fl8lCVgEy4lqfbu0NZ+qRRLJz0pnmy8n3ZM57d0McKSVo1ATYsKm si1rvtagc74oDGvjO3pj90jlH0tvynj1d5K9qyHb+wQDYLtFhlKN0ZhjCjkluSl3Ki+B RYleH2fpS7CUf0SPHcv6y2qzXTlktyeveBrxo9rNo/BM4v66fPEPgaWk1/U8RQR9Gm/r aZgF205XF3qOZw3QqyjcL6XF5qZDH2yoQp4EwPj3mVxFEtgQY9OUb4HQ/GZPzKZvydIm ZiYnuS8ZANwUxaw8yJApwHzHjU+PpvmlQcHCVzf8+d1tej059Spj/e/t7Z6ddgYLMbkO mFlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701101046; x=1701705846; 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=C7kfcTFnc1EIcTrfufgAiSWZaBI8ZkU3ldDxmrr3WA8=; b=AroE23CmrkgI/pW4ZngO6pJIOkHWBgB/asPyFaZz90ZhVQhh9ZKsnhdIGOPl6eGsIL hLmvNPylm0/tQi4YOb5ustTwulz05WBNpPmLwF2fX+EcYeactwiWGoSjYTqrVIUsLrMK YlPGmDmd7R0Gv/i+5M0m1F0xqsZR343XEzQZoCpgij0C4GHosoTkxdUrMq5G01w93hNC ICKTYvr3txWXPlWpWeRoH786E3DTAwic+BhNK2Smq8l2/xli6ql+drK3w7bl+UIGAe1W 5PpMv7JCTgC26RffXcm/15eIBr8BsF5UuFoKUzqlFVC+c06UT10RJ1Z/+L4osD52zihU Dn2Q== X-Gm-Message-State: AOJu0Yx3iPurrNZ4oKMQ7v9kmYB3chqnixF770fkDF6lcTtxR6PP1uXW ibyGNxesLJnsAMjs4oeLvlVFrgtcNqxvSztEFBTY/w== X-Received: by 2002:a25:ea45:0:b0:db3:9994:119b with SMTP id o5-20020a25ea45000000b00db39994119bmr10785589ybe.50.1701101046011; Mon, 27 Nov 2023 08:04:06 -0800 (PST) MIME-Version: 1.0 References: <20231127051414.3783108-1-victor.liu@nxp.com> In-Reply-To: <20231127051414.3783108-1-victor.liu@nxp.com> From: Linus Walleij Date: Mon, 27 Nov 2023 17:03:53 +0100 Message-ID: Subject: Re: [PATCH v2 0/2] drm/bridge: panel: Check device dependency before managing device link To: Liu Ying Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-next@vger.kernel.org, sfr@canb.auug.org.au, gregkh@linuxfoundation.org, rafael@kernel.org, andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, angelogioacchino.delregno@collabora.com, ulf.hansson@linaro.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 27 Nov 2023 08:04:23 -0800 (PST) On Mon, Nov 27, 2023 at 6:10=E2=80=AFAM Liu Ying wrote= : > This series aims to check panel device dependency upon DRM device before > managing device link between them. It fixes eariler patches in v6.7-rc1 > which tried to manage the link. Without this series, the link fails to > be added for dependent panel devices and hence relevant panel bridges > fail to be attached. A real broken panel is "novatek,nt35510" defined > in arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts as reported by > Linus Walleij. > > Patch 1 exports device_is_dependent() to modules as needed by patch 2. > Patch 2 checks device dependency before managing the device link. > > Note that patch 2 is already in drm-misc/drm-misc-fixes and > drm-misc/for-linux-next-fixes. Patch 1 needs to be reviewed and picked u= p. > > v2: > * Introduce patch 1 to export device_is_dependent() to modules as needed = by > patch 2. > > Liu Ying (2): > driver core: Export device_is_dependent() to modules > drm/bridge: panel: Check device dependency before managing device link I just applied patch 1 directly to the drm-misc-fixes so we don't have to revert and then re-apply patches, because that is a bigger evil. (We can't rebase these branches...) Yours, Linus Walleij