Re: [PATCH 2/3] drm/xen: Implement mmap as GEM object function

2021-11-08 Thread Thomas Zimmermann
Hi Am 08.11.21 um 11:46 schrieb Oleksandr Andrushchenko: Hi, Thomas! On 08.11.21 12:28, Thomas Zimmermann wrote: Moving the driver-specific mmap code into a GEM object function allows for using DRM helpers for various mmap callbacks. The respective xen functions are being removed. The

Re: [PATCH 2/3] drm/xen: Implement mmap as GEM object function

2021-11-08 Thread Oleksandr Andrushchenko
Hi, Thomas! On 08.11.21 12:28, Thomas Zimmermann wrote: > Moving the driver-specific mmap code into a GEM object function allows > for using DRM helpers for various mmap callbacks. > > The respective xen functions are being removed. The file_operations > structure fops is now being created by the

[PATCH 2/3] drm/xen: Implement mmap as GEM object function

2021-11-08 Thread Thomas Zimmermann
Moving the driver-specific mmap code into a GEM object function allows for using DRM helpers for various mmap callbacks. The respective xen functions are being removed. The file_operations structure fops is now being created by the helper macro DEFINE_DRM_GEM_FOPS(). Signed-off-by: Thomas