[PATCH] drm/virtgpu: Replace dev_private by helper function

Gerd Hoffmann kraxel at redhat.com
Wed Jun 21 07:57:14 UTC 2023


On Tue, Jun 20, 2023 at 12:33:28PM +0200, Thomas Zimmermann wrote:
> Dereference struct drm_device.dev_private in the helper function
> do_virtio_gpu_device(). The dev_private field is deprecated and
> drivers are advised not ot use it. Encapsulating it in a helper
> function will help with a later removal. No functional changes.
> 
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>

Acked-by: Gerd Hoffmann <kraxel at redhat.com>



More information about the dri-devel mailing list