Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1049226pxb; Thu, 15 Apr 2021 12:39:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOucFaytsHzrdEvg9bUNA/6Y1FnXxRBeaFkBtBSI1LNMh9VeDNrMDaf4XtVkSvPdkxGX92 X-Received: by 2002:a05:6402:441:: with SMTP id p1mr6191751edw.298.1618515540396; Thu, 15 Apr 2021 12:39:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618515540; cv=none; d=google.com; s=arc-20160816; b=Bktz6bquKOtgv2FF/xvAXMaEpDC9u9UYO0h928nrp8CdBrq/psNjqNSj+NH3D7NWqJ DUX3gRi1n/Vl6LBF4hNxCE+pOjnPM+XPwZM2UfGfQz+BFT+4hZbcxIP7azK98Z7dPaBl 5eIU9Fm0y3Rk0j4sskjMfJH9trneX+zTg6lAhIwkM4oj9zyJXkUL0yHTLyqQKwTQiGr3 wNAc7xApQUJQj3y6dixfcnyfb89xhRvTCqj3hhZ8Hl/TBfOBD1j0SB6icmVM14JbGTlI SWd8hH8MsOgMsP8EEm2untlkMhgPYw7wiVmtsI3u2ABSKArEZpQqHO7zd+p7tggcSm1M CFCA== 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=NNXtYoxo/qwfgdSe6NIOVB0oJtONeFgwJFiktR+gW2w=; b=r8XRNF4btI8xPam3Bc1qZMlcDezY/QWpi85WbAvW4qlnRc76EiudwOodO10v3WD+Au WpGzRkFudnzIYMRNP04cks0+BkhIVmdmvy4aPkH3zt5weRIDM7bFfJfI1WuiJveFOjUa BT46HtUFQG7ZgQTqWt41bGedG10i4YTXpY3IHrTBfbZsS2EjVWHHjw6stQD/etiShadD gYVkEr2RwACOf9yijtGrLWq5ymCZjL9f7trcAaOpb9SrLtr046wet21mx5FggfB46Cqm 9E+WfTCptGtpPGGhHnJS2VCR29qCLBOhSdyiBC81fAPqbX585wHcZW3IMh3cfLstg78a PMjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sFmVzGOu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lo4si2756138ejb.222.2021.04.15.12.38.31; Thu, 15 Apr 2021 12:39:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sFmVzGOu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234941AbhDOThP (ORCPT + 99 others); Thu, 15 Apr 2021 15:37:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234735AbhDOThP (ORCPT ); Thu, 15 Apr 2021 15:37:15 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89C7BC061574; Thu, 15 Apr 2021 12:36:51 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id f8so29469247edd.11; Thu, 15 Apr 2021 12:36:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=NNXtYoxo/qwfgdSe6NIOVB0oJtONeFgwJFiktR+gW2w=; b=sFmVzGOumL6R9zB3G+mYGAPwaRNK2YIqkVto1Ts6HtUoi1JZVrT+J4kCicgWTkRFSm k2IlVN03IcJLq8UK1dCcN25lj/rEDDmkNV1rSvGyAZmZcQ6n+H0mrpoUjwWl+BruHtn5 anGaNJLqlWFQ195gcQM70z9JOYNP+CrBN3bI8jCvInxXZCHcG24SNgy2PAADehQndk9Z RM62OXhFeHs9sXJ6Q5TWLlUWR7onruLmknbTZsOjlIckDL6jvcCI6CYsmsMu485uBLwx MQhDs2wYsB37dy8zDqkTvDdIWoLcXfFQSoRUhmSqs6Jz1WQb8eLx8m0PL8FYcp+VLwwf pd4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=NNXtYoxo/qwfgdSe6NIOVB0oJtONeFgwJFiktR+gW2w=; b=KJ656XnQysOpwK+FBp+N9dyOz0MwLLX07Cx1SID6CVDgjZYC6wIVL+c5KdeDQoPfDM 3Ns2MrDHzKYKYkk4SZGi2Rqnv4LLJXsVm5LCI0YjyrSvxH42PZgR2GDjpGXsrTGRSIEr G5P704YdkFPhG1o+J8Sx2OA7L4n2ryt0mCZ0qVzFB4neMyqEyriMCXEhuG7LkeC8RQUf zz0tRzcQw+unTFkq7DaUUbue3a8qg+YS2uaLxNXB5gQwTyBKzuL3CPGKKTUyZEItOyXo UXyTK3LI75yr2cVGtkNMbI58Qt/2x/yEoqg0pUdAdRPLo+Cpi8vkqL5u0Qb17swMs+BV xKQA== X-Gm-Message-State: AOAM533tLzHp4vxWMmgrTUoMc3DXBZ0yIds/vkElcQ0Ae2W2+7ad9FNB YkqmSSza72X4wIh+gY4JxCokOIYWB7ohqOYXnfc= X-Received: by 2002:a05:6402:3506:: with SMTP id b6mr6393593edd.175.1618515410310; Thu, 15 Apr 2021 12:36:50 -0700 (PDT) MIME-Version: 1.0 References: <20210415183639.1487-1-rdunlap@infradead.org> In-Reply-To: <20210415183639.1487-1-rdunlap@infradead.org> From: Adrien Grassein Date: Thu, 15 Apr 2021 21:36:39 +0200 Message-ID: Subject: Re: [PATCH -next] drm: bridge: fix LONTIUM use of mipi_dsi_() functions To: Randy Dunlap Cc: linux-kernel , kernel test robot , Dmitry Baryshkov , Sam Ravnborg , Vinod Koul , Bjorn Andersson , Srinivas Kandagatla , Andrzej Hajda , Neil Armstrong , Robert Foss , dri-devel , stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reviewed-by: Adren Grassein Le jeu. 15 avr. 2021 =C3=A0 20:36, Randy Dunlap a = =C3=A9crit : > > The Lontium DRM bridge drivers use mipi_dsi_() function interfaces so > they need to select DRM_MIPI_DSI to prevent build errors. > > ERROR: modpost: "mipi_dsi_attach" [drivers/gpu/drm/bridge/lontium-lt9611u= xc.ko] undefined! > ERROR: modpost: "mipi_dsi_device_register_full" [drivers/gpu/drm/bridge/l= ontium-lt9611uxc.ko] undefined! > ERROR: modpost: "of_find_mipi_dsi_host_by_node" [drivers/gpu/drm/bridge/l= ontium-lt9611uxc.ko] undefined! > ERROR: modpost: "mipi_dsi_device_unregister" [drivers/gpu/drm/bridge/lont= ium-lt9611uxc.ko] undefined! > ERROR: modpost: "mipi_dsi_detach" [drivers/gpu/drm/bridge/lontium-lt9611u= xc.ko] undefined! > ERROR: modpost: "mipi_dsi_attach" [drivers/gpu/drm/bridge/lontium-lt9611.= ko] undefined! > ERROR: modpost: "mipi_dsi_device_register_full" [drivers/gpu/drm/bridge/l= ontium-lt9611.ko] undefined! > ERROR: modpost: "of_find_mipi_dsi_host_by_node" [drivers/gpu/drm/bridge/l= ontium-lt9611.ko] undefined! > ERROR: modpost: "mipi_dsi_device_unregister" [drivers/gpu/drm/bridge/lont= ium-lt9611.ko] undefined! > ERROR: modpost: "mipi_dsi_detach" [drivers/gpu/drm/bridge/lontium-lt9611.= ko] undefined! > WARNING: modpost: suppressed 5 unresolved symbol warnings because there w= ere too many) > > Fixes: 23278bf54afe ("drm/bridge: Introduce LT9611 DSI to HDMI bridge") > Fixes: 0cbbd5b1a012 ("drm: bridge: add support for lontium LT9611UXC brid= ge") > Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge") > Signed-off-by: Randy Dunlap > Reported-by: kernel test robot > Cc: Dmitry Baryshkov > Cc: Sam Ravnborg > Cc: Vinod Koul > Cc: Bjorn Andersson > Cc: Srinivas Kandagatla > Cc: Adrien Grassein > Cc: Andrzej Hajda > Cc: Neil Armstrong > Cc: Robert Foss > Cc: dri-devel@lists.freedesktop.org > Cc: stable@vger.kernel.org > --- > drivers/gpu/drm/bridge/Kconfig | 3 +++ > 1 file changed, 3 insertions(+) > > --- linux-next-20210414.orig/drivers/gpu/drm/bridge/Kconfig > +++ linux-next-20210414/drivers/gpu/drm/bridge/Kconfig > @@ -66,6 +66,7 @@ config DRM_LONTIUM_LT8912B > depends on OF > select DRM_PANEL_BRIDGE > select DRM_KMS_HELPER > + select DRM_MIPI_DSI > select REGMAP_I2C > help > Driver for Lontium LT8912B DSI to HDMI bridge > @@ -81,6 +82,7 @@ config DRM_LONTIUM_LT9611 > depends on OF > select DRM_PANEL_BRIDGE > select DRM_KMS_HELPER > + select DRM_MIPI_DSI > select REGMAP_I2C > help > Driver for Lontium LT9611 DSI to HDMI bridge > @@ -94,6 +96,7 @@ config DRM_LONTIUM_LT9611UXC > depends on OF > select DRM_PANEL_BRIDGE > select DRM_KMS_HELPER > + select DRM_MIPI_DSI > select REGMAP_I2C > help > Driver for Lontium LT9611UXC DSI to HDMI bridge