Re: [PATCH 1/6] drm/gem: refine drm_gem_objects_lookup

2019-10-10 Thread Daniel Vetter
On Thu, Oct 10, 2019 at 10:02:31AM +0800, Qiang Yu wrote: > On Wed, Oct 9, 2019 at 10:57 PM Daniel Vetter wrote: > > > > On Fri, Sep 27, 2019 at 08:09:52AM +0800, Qiang Yu wrote: > > > On Thu, Sep 26, 2019 at 11:01 PM Rob Herring wrote: > > > > > > > > On Thu, Sep 26, 2019 at 9:12 AM Qiang Yu wr

Re: [PATCH 1/6] drm/gem: refine drm_gem_objects_lookup

2019-10-09 Thread Qiang Yu
On Wed, Oct 9, 2019 at 10:57 PM Daniel Vetter wrote: > > On Fri, Sep 27, 2019 at 08:09:52AM +0800, Qiang Yu wrote: > > On Thu, Sep 26, 2019 at 11:01 PM Rob Herring wrote: > > > > > > On Thu, Sep 26, 2019 at 9:12 AM Qiang Yu wrote: > > > > > > > > Do not use user space bo handles directly and lef

Re: [PATCH 1/6] drm/gem: refine drm_gem_objects_lookup

2019-10-09 Thread Daniel Vetter
On Fri, Sep 27, 2019 at 08:09:52AM +0800, Qiang Yu wrote: > On Thu, Sep 26, 2019 at 11:01 PM Rob Herring wrote: > > > > On Thu, Sep 26, 2019 at 9:12 AM Qiang Yu wrote: > > > > > > Do not use user space bo handles directly and left the user > > > to kernel copy work to drivers calling this functio

Re: [PATCH 1/6] drm/gem: refine drm_gem_objects_lookup

2019-09-26 Thread Qiang Yu
On Thu, Sep 26, 2019 at 11:01 PM Rob Herring wrote: > > On Thu, Sep 26, 2019 at 9:12 AM Qiang Yu wrote: > > > > Do not use user space bo handles directly and left the user > > to kernel copy work to drivers calling this function. > > > > This is for driver like lima which does not pass gem bo > >

Re: [PATCH 1/6] drm/gem: refine drm_gem_objects_lookup

2019-09-26 Thread Rob Herring
On Thu, Sep 26, 2019 at 9:12 AM Qiang Yu wrote: > > Do not use user space bo handles directly and left the user > to kernel copy work to drivers calling this function. > > This is for driver like lima which does not pass gem bo > handles continously in an array in ioctl argument. > > Cc: Rob Herri

[PATCH 1/6] drm/gem: refine drm_gem_objects_lookup

2019-09-26 Thread Qiang Yu
Do not use user space bo handles directly and left the user to kernel copy work to drivers calling this function. This is for driver like lima which does not pass gem bo handles continously in an array in ioctl argument. Cc: Rob Herring Cc: Tomeu Vizoso Cc: Steven Price Cc: Alyssa Rosenzweig