Re: drm/virtgpu: Replace dev_private by helper function

2023-06-21 Thread Thomas Zimmermann
Am 21.06.23 um 11:12 schrieb Sui Jingfeng: Hi, On 2023/6/20 18:33, Thomas Zimmermann wrote: Dereference struct drm_device.dev_private in the helper function do_virtio_gpu_device(). Is the word "Dereference" accurate enough ? It's not really the correct word, you're right. 'Access' or 'rea

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

2023-06-21 Thread Thomas Zimmermann
Am 20.06.23 um 12:33 schrieb Thomas Zimmermann: 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

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

2023-06-21 Thread Gerd Hoffmann
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

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

2023-06-20 Thread Thomas Zimmermann
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 --- dr