Re: [PATCH 0/8] drm: Clean up mmap for TTM-based GEM drivers

2021-04-08 Thread Daniel Vetter
On Thu, Apr 08, 2021 at 01:38:59PM +0200, Thomas Zimmermann wrote: > Hi > > Am 08.04.21 um 13:19 schrieb Daniel Vetter: > > On Tue, Apr 06, 2021 at 11:08:55AM +0200, Thomas Zimmermann wrote: > > > Implement mmap via struct drm_gem_object_functions.mmap for amdgpu, > > > radeon and nouveau. This al

Re: [PATCH 0/8] drm: Clean up mmap for TTM-based GEM drivers

2021-04-08 Thread Thomas Zimmermann
Hi Am 08.04.21 um 13:19 schrieb Daniel Vetter: On Tue, Apr 06, 2021 at 11:08:55AM +0200, Thomas Zimmermann wrote: Implement mmap via struct drm_gem_object_functions.mmap for amdgpu, radeon and nouveau. This allows for using common DRM helpers for the mmap-related callbacks in struct file_operat

Re: [PATCH 0/8] drm: Clean up mmap for TTM-based GEM drivers

2021-04-08 Thread Daniel Vetter
On Tue, Apr 06, 2021 at 11:08:55AM +0200, Thomas Zimmermann wrote: > Implement mmap via struct drm_gem_object_functions.mmap for amdgpu, > radeon and nouveau. This allows for using common DRM helpers for > the mmap-related callbacks in struct file_operations and struct > drm_driver. The drivers hav

[PATCH 0/8] drm: Clean up mmap for TTM-based GEM drivers

2021-04-06 Thread Thomas Zimmermann
Implement mmap via struct drm_gem_object_functions.mmap for amdgpu, radeon and nouveau. This allows for using common DRM helpers for the mmap-related callbacks in struct file_operations and struct drm_driver. The drivers have their own vm_ops, which are now set automatically by the DRM core functio