Re: [PATCH v5] drm/vgem/vgem_drv convert to use faux_device

From: Greg Kroah-Hartman
Date: Tue Jul 08 2025 - 04:15:07 EST


On Mon, Jul 07, 2025 at 03:52:32PM +0200, Thomas Zimmermann wrote:
> Hi
>
> Am 02.07.25 um 09:49 schrieb Greg Kroah-Hartman:
> > On Wed, Jul 02, 2025 at 09:36:40AM +0200, Thomas Zimmermann wrote:
> > > Hi
> > >
> > > Am 01.07.25 um 12:51 schrieb Greg Kroah-Hartman:
> > > > The vgem driver does not need to create a platform device, as there is
> > > > no real platform resources associated it, it only did so because it was
> > > > simple to do that in order to get a device to use for resource
> > > > management of drm resources. Change the driver to use the faux device
> > > > instead as this is NOT a real platform device.
> > > >
> > > > Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
> > > > Cc: Maxime Ripard <mripard@xxxxxxxxxx>
> > > > Cc: David Airlie <airlied@xxxxxxxxx>
> > > > Cc: Simona Vetter <simona@xxxxxxxx>
> > > > Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx
> > > > Reviewed-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
> > > > Reviewed-by: Lyude Paul <lyude@xxxxxxxxxx>
> > > > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> > > > ---
> > > > v5: - rebased against 6.16-rc4 and resent as it seems to have been lost
> > > Not lost, but thanks for the update. This patch and the one for vkms depend
> > > on "drm/gem-shmem: Do not map s/g table by default". [1] It'll land soon and
> > > the faux_device updates soon after.
> > >
> > > Best regards
> > > Thomas
> > >
> > > [1] https://patchwork.freedesktop.org/series/150968/
> > Great, thanks for letting me know.
>
> This patch and the one for vkms have been merged into DRM trees. They should
> show up in upstream in one of the next merge windows.

Wonderful, thank you!