Re: [PATCH] drm/vgem: use shmem helpers

2021-02-26 Thread Daniel Vetter
On Fri, Feb 26, 2021 at 02:51:58PM +0100, Thomas Zimmermann wrote: > Hi > > Am 26.02.21 um 14:30 schrieb Daniel Vetter: > > On Fri, Feb 26, 2021 at 10:19 AM Thomas Zimmermann > > wrote: > > > > > > Hi > > > > > > Am 25.02.21 um 11:23 schrieb Daniel Vetter: > > > > Aside from deleting lots of c

Re: [PATCH] drm/vgem: use shmem helpers

2021-02-26 Thread Thomas Zimmermann
Hi Am 26.02.21 um 14:30 schrieb Daniel Vetter: On Fri, Feb 26, 2021 at 10:19 AM Thomas Zimmermann wrote: Hi Am 25.02.21 um 11:23 schrieb Daniel Vetter: Aside from deleting lots of code the real motivation here is to switch the mmap over to VM_PFNMAP, to be more consistent with what real gpu

Re: [PATCH] drm/vgem: use shmem helpers

2021-02-26 Thread Daniel Vetter
On Fri, Feb 26, 2021 at 10:19 AM Thomas Zimmermann wrote: > > Hi > > Am 25.02.21 um 11:23 schrieb Daniel Vetter: > > Aside from deleting lots of code the real motivation here is to switch > > the mmap over to VM_PFNMAP, to be more consistent with what real gpu > > drivers do. They're all VM_PFNMP,

Re: [PATCH] drm/vgem: use shmem helpers

2021-02-26 Thread Thomas Zimmermann
Hi Am 25.02.21 um 11:23 schrieb Daniel Vetter: Aside from deleting lots of code the real motivation here is to switch the mmap over to VM_PFNMAP, to be more consistent with what real gpu drivers do. They're all VM_PFNMP, which means get_user_pages doesn't work, and even if you try and there's a