[PATCH] drm: Remove unused drm_device from drm_gem_object_lookup()

2016-05-17 Thread Daniel Vetter
On Mon, May 16, 2016 at 11:15:09PM +0100, Emil Velikov wrote: > Hi Chris, > > On 9 May 2016 at 11:04, Chris Wilson wrote: > > > --- a/drivers/gpu/drm/drm_gem.c > > +++ b/drivers/gpu/drm/drm_gem.c > > > @@ -607,12 +606,8 @@ drm_gem_object_lookup(struct drm_device *dev, struct > > drm_file

[PATCH] drm: Remove unused drm_device from drm_gem_object_lookup()

2016-05-17 Thread Emil Velikov
Hi Chris, On 9 May 2016 at 11:04, Chris Wilson wrote: > --- a/drivers/gpu/drm/drm_gem.c > +++ b/drivers/gpu/drm/drm_gem.c > @@ -607,12 +606,8 @@ drm_gem_object_lookup(struct drm_device *dev, struct > drm_file *filp, > > /* Check if we currently have a reference on the object */ >

[PATCH] drm: Remove unused drm_device from drm_gem_object_lookup()

2016-05-09 Thread Chris Wilson
drm_gem_object_lookup() has never required the drm_device for its file local translation of the user handle to the GEM object. Let's remove the unused parameter and save some space. Signed-off-by: Chris Wilson Cc: dri-devel at lists.freedesktop.org Cc: Dave Airlie Cc: Daniel Vetter ---