[Intel-gfx] [PATCH 02/14] drm: Hide hw.lock cleanup in filp->release better

2016-06-15 Thread Emil Velikov
On 14 June 2016 at 19:50, Daniel Vetter wrote: > A few things: > - Rename the cleanup function from drm_master_release to > drm_legacy_lock_release. It doesn't relase any master stuff, but > just the legacy hw lock. > - Hide it in drm_lock.c, which allows us to make a few more functions > st

[Intel-gfx] [PATCH 02/14] drm: Hide hw.lock cleanup in filp->release better

2016-06-15 Thread Chris Wilson
On Tue, Jun 14, 2016 at 08:50:57PM +0200, Daniel Vetter wrote: > A few things: > - Rename the cleanup function from drm_master_release to > drm_legacy_lock_release. It doesn't relase any master stuff, but > just the legacy hw lock. > - Hide it in drm_lock.c, which allows us to make a few more f

[PATCH 02/14] drm: Hide hw.lock cleanup in filp->release better

2016-06-14 Thread Daniel Vetter
A few things: - Rename the cleanup function from drm_master_release to drm_legacy_lock_release. It doesn't relase any master stuff, but just the legacy hw lock. - Hide it in drm_lock.c, which allows us to make a few more functions static in there. To avoid forward decl we need to shuffle the