[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <hd6o7i467etrkgjxajfr2brsdi7gkmzm7lbcwpcgljueayh3v6@6sxzjr4mowve>
Date: Mon, 7 Oct 2024 11:49:58 -0500
From: Lucas De Marchi <lucas.demarchi@...el.com>
To: Arnd Bergmann <arnd@...db.de>
CC: Niklas Schnelle <schnelle@...ux.ibm.com>, Brian Cain <bcain@...cinc.com>,
Marcel Holtmann <marcel@...tmann.org>, Luiz Augusto von Dentz
<luiz.dentz@...il.com>, Patrik Jakobsson <patrik.r.jakobsson@...il.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>, Maxime Ripard
<mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>, Dave Airlie
<airlied@...il.com>, Simona Vetter <simona@...ll.ch>, Dave Airlie
<airlied@...hat.com>, Gerd Hoffmann <kraxel@...hat.com>, Thomas
Hellström <thomas.hellstrom@...ux.intel.com>, Rodrigo Vivi
<rodrigo.vivi@...el.com>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>, "Maciej W. Rozycki" <macro@...am.me.uk>,
Heiko Carstens <hca@...ux.ibm.com>, <linux-kernel@...r.kernel.org>,
<linux-hexagon@...r.kernel.org>, <linux-bluetooth@...r.kernel.org>,
<dri-devel@...ts.freedesktop.org>, <virtualization@...ts.linux.dev>,
<spice-devel@...ts.freedesktop.org>, <intel-xe@...ts.freedesktop.org>,
<linux-serial@...r.kernel.org>, Linux-Arch <linux-arch@...r.kernel.org>, Arnd
Bergmann <arnd@...nel.org>
Subject: Re: [PATCH v6 3/5] drm: handle HAS_IOPORT dependencies
On Mon, Oct 07, 2024 at 02:50:11PM +0000, Arnd Bergmann wrote:
>On Mon, Oct 7, 2024, at 14:39, Lucas De Marchi wrote:
>> as an example:
>> $ git grep -lw outb -- drivers/gpu/drm/
>> drivers/gpu/drm/gma500/cdv_device.c
>> drivers/gpu/drm/i915/display/intel_vga.c
>> drivers/gpu/drm/qxl/qxl_cmd.c
>> drivers/gpu/drm/qxl/qxl_irq.c
>> drivers/gpu/drm/tiny/bochs.c
>> drivers/gpu/drm/tiny/cirrus.c
>>
>> you are adding the dependency on xe, but why are you keeping i915 out?
>> What approach did you use to determine the dependency?
>
>I did a lot of 'randconfig' build testing on earlier versions
>(and this version) of the series, which eventually catches
>all of them. The i915 driver depends on CONfIG_X86 since it
>is only used in Intel PC chipsets that already rely on PIO.
>
>The XE driver is also used for add-on cards, so the drivers
>can be built on all architectures including those that do
>not support PCI I/O space access. Adding the dependency on
>i915 as well wouldn't be wrong, but is not required for
>correctness.
ok, makes sense. I missed the indirect dependency already present in
i915. Thanks.
For the xe part,
Acked-by: Lucas De Marchi <lucas.demarchi@...el.com>
Lucas De Marchi
>
>I also sent a patch for vmwgfx, which can be used on arm64.
>arm64 currently always sets HAS_IOPORT, so my patch is not
>required as a dependency for [PATCH v6 5/5], but we eventually
>want this so HAS_IOPORT can become optional on arm64.
>
> Arnd
Powered by blists - more mailing lists