[PATCH 00/14] Cruft removal around drm_master
Daniel Vetter
daniel.vetter at ffwll.ch
Tue Jun 14 18:50:55 UTC 2016
Hi all,
These are the final bits of my dev->struct_mutex crusade, taking care of a few
things related to drm_master. Since I just couldnt' grok this dense web of
legacy dungeons, also includes some cleanups. On top of that also patches to
mark auth and master ioctls as DRM_UNLOCKED, which means the other drm subsystem
BKL is also much reduced (and only still needed to paper over the midlayer fail
for drivers that use the ->load callback).
Feedbacks, review and testing highly welcome.
Cheers, Daniel
Daniel Vetter (14):
drm: Nuke legacy maps debugfs files
drm: Hide hw.lock cleanup in filp->release better
drm: Link directly from drm_master to drm_device
drm: Move master functions into drm_auth.c
drm: Extract drm_master_open
drm: Extract drm_master_relase
drm: Only do the hw.lock cleanup in master_relase for !MODESET
drm: Move authmagic cleanup into drm_master_release
drm: Protect authmagic with master_mutex
drm: Mark authmagic ioctls as unlocked
drm: Mark set/drop master ioctl as unlocked.
drm: Move master pointer from drm_minor to drm_device
drm: Clean up drm_crtc.h
drm: Use dev->name as fallback for dev->unique
drivers/gpu/drm/drm_auth.c | 231 +++++++++++++++++++++++++++++++++-
drivers/gpu/drm/drm_bufs.c | 8 +-
drivers/gpu/drm/drm_crtc.c | 7 ++
drivers/gpu/drm/drm_crtc_internal.h | 86 ++++++++++++-
drivers/gpu/drm/drm_debugfs.c | 3 -
drivers/gpu/drm/drm_drv.c | 119 +-----------------
drivers/gpu/drm/drm_fb_helper.c | 2 +-
drivers/gpu/drm/drm_fops.c | 125 ++-----------------
drivers/gpu/drm/drm_info.c | 97 ++-------------
drivers/gpu/drm/drm_internal.h | 18 +--
drivers/gpu/drm/drm_ioctl.c | 16 +--
drivers/gpu/drm/drm_legacy.h | 8 +-
drivers/gpu/drm/drm_lock.c | 238 ++++++++++++++++++------------------
drivers/gpu/drm/drm_vm.c | 54 --------
drivers/gpu/drm/sis/sis_mm.c | 2 +-
drivers/gpu/drm/via/via_mm.c | 2 +-
include/drm/drmP.h | 17 +--
include/drm/drm_crtc.h | 188 +++++++++-------------------
18 files changed, 547 insertions(+), 674 deletions(-)
--
2.8.1
More information about the dri-devel
mailing list