[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1583933726.1550.1.camel@mtksdaap41>
Date: Wed, 11 Mar 2020 21:35:26 +0800
From: CK Hu <ck.hu@...iatek.com>
To: Matthias Brugger <mbrugger@...e.com>
CC: Enric Balletbo i Serra <enric.balletbo@...labora.com>,
<robh+dt@...nel.org>, <mark.rutland@....com>,
<p.zabel@...gutronix.de>, <airlied@...ux.ie>,
<mturquette@...libre.com>, <sboyd@...nel.org>,
<ulrich.hecht+renesas@...il.com>,
<laurent.pinchart@...asonboard.com>,
Matthias Brugger <matthias.bgg@...il.com>,
<linux-media@...r.kernel.org>,
Allison Randal <allison@...utok.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
<linux-mediatek@...ts.infradead.org>,
"Collabora Kernel ML" <kernel@...labora.com>,
<dri-devel@...ts.freedesktop.org>,
"Seiya Wang" <seiya.wang@...iatek.com>,
<linux-kernel@...r.kernel.org>, <wens@...e.org>,
Daniel Vetter <daniel@...ll.ch>, <linux-clk@...r.kernel.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Kate Stewart <kstewart@...uxfoundation.org>,
<devicetree@...r.kernel.org>, Thomas Gleixner <tglx@...utronix.de>,
<frank-w@...lic-files.de>, <linux-arm-kernel@...ts.infradead.org>,
<hsinyi@...omium.org>, Richard Fontana <rfontana@...hat.com>,
mtk01761 <wendell.lin@...iatek.com>,
Weiyi Lu <weiyi.lu@...iatek.com>, <sean.wang@...iatek.com>,
<rdunlap@...radead.org>, <matthias.bgg@...nel.org>,
Andrew-CT Chen <andrew-ct.chen@...iatek.com>,
Houlong Wei <houlong.wei@...iatek.com>,
Minghsiu Tsai <minghsiu.tsai@...iatek.com>
Subject: Re: [PATCH v11 5/5] soc / drm: mediatek: Fix mediatek-drm device
probing
On Wed, 2020-03-11 at 14:26 +0100, Matthias Brugger wrote:
>
> On 11/03/2020 12:56, Enric Balletbo i Serra wrote:
> > In the actual implementation the same compatible string
> > "mediatek,<chip>-mmsys" is used to bind the clock drivers
> > (drivers/soc/mediatek) as well as to the gpu driver
> > (drivers/gpu/drm/mediatek/mtk_drm_drv.c). This ends with the problem
> > that the only probed driver is the clock driver and there is no display
> > at all.
> >
> > In any case having the same compatible string for two drivers is not
> > correct and should be fixed. To fix this, and maintain backward
> > compatibility, we can consider that the mmsys driver is the top-level
> > entry point for the multimedia subsystem, so is not a pure clock
> > controller but a system controller, and the drm driver is instantiated
> > by that MMSYS driver.
> >
> > Signed-off-by: Enric Balletbo i Serra <enric.balletbo@...labora.com>
> > Reviewed-by: CK Hu <ck.hu@...iatek.com>
>
> Same here.
Acked-by: CK Hu <ck.hu@...iatek.com>
Powered by blists - more mailing lists