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

Thomas Zimmermann tzimmermann at suse.de
Mon Jul 7 13:52:32 UTC 2025


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 at linux.intel.com>
>>> Cc: Maxime Ripard <mripard at kernel.org>
>>> Cc: David Airlie <airlied at gmail.com>
>>> Cc: Simona Vetter <simona at ffwll.ch>
>>> Cc: dri-devel at lists.freedesktop.org
>>> Reviewed-by: Thomas Zimmermann <tzimmermann at suse.de>
>>> Reviewed-by: Lyude Paul <lyude at redhat.com>
>>> Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
>>> ---
>>> 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.

Best regards
Thomas

>
> greg k-h

-- 
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)



More information about the dri-devel mailing list