Daniel Vetter
d6ed682eba
drm: Refactor drop/set master code a bit
...
File open/set_maseter ioctl and file close/drop_master ioctl share the
same master handling code. Extract it.
Note that vmwgfx's master_set callback needs to know whether the
master is a new one or has been used already, so thread this through.
On the close/drop side a similar parameter existed, but wasnt used.
Drop it to simplify the flow.
v2: Try to make it not leak so much (Emil).
v3: Send out the right version ...
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1466511638-9885-1-git-send-email-daniel.vetter@ffwll.ch
2016-06-21 21:56:28 +02:00
..
bridge
drm: rockchip: dp: add rockchip platform dp driver
2016-04-05 10:13:04 +08:00
i2c
ttm
drm/ttm: implement LRU add callbacks v2
2016-05-04 20:21:38 -04:00
ati_pcigart.h
drm_agpsupport.h
drm: Give drm_agp_clear drm_legacy_ prefix
2016-04-27 08:41:34 +02:00
drm_atomic.h
drm/atomic: Add struct drm_crtc_commit to track async updates
2016-06-10 16:57:54 +02:00
drm_atomic_helper.h
drm: Fix comment making reference to non-existing function
2016-06-10 17:18:12 +02:00
drm_cache.h
drm: Loongson-3 doesn't fully support wc memory
2016-04-22 10:24:11 +10:00
drm_core.h
drm_crtc.h
drm: Clean up drm_crtc.h
2016-06-21 21:43:28 +02:00
drm_crtc_helper.h
drm: drm_helper_crtc_enable_color_mgmt() => drm_crtc_enable_color_mgmt()
2016-06-07 17:10:49 +03:00
drm_displayid.h
drm/edid: add displayid detailed 1 timings to the modelist. (v1.1)
2016-05-23 11:35:31 +10:00
drm_dp_aux_dev.h
drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers.
2016-02-12 14:22:40 +01:00
drm_dp_dual_mode_helper.h
drm: Add helper for DP++ adaptors
2016-05-23 11:10:46 +03:00
drm_dp_helper.h
drm: Minimally initialise drm_dp_aux
2016-06-17 14:41:47 +02:00
drm_dp_mst_helper.h
drm/dp/mst: move GUID storage from mgr, port to only mst branch
2016-02-05 15:23:49 +10:00
drm_edid.h
drm: probe_helper: Hide ugly ifdef
2016-04-20 13:35:14 +02:00
drm_encoder_slave.h
drm_fb_cma_helper.h
drm/fb-cma-helper: Add function drm_fb_cma_create_with_funcs()
2016-05-17 09:08:32 +02:00
drm_fb_helper.h
drm: Replace fb_helper->atomic with mode_config->atomic_commit
2016-06-09 08:43:28 +02:00
drm_fixed.h
drm: Add drm_fixp_from_fraction and drm_fixp2int_ceil
2016-02-05 15:23:48 +10:00
drm_flip_work.h
drm_fourcc.h
drm: Move format-related helpers to drm_fourcc.c
2016-06-09 11:58:50 +02:00
drm_gem.h
drm: Remove unused drm_device from drm_gem_object_lookup()
2016-05-17 08:47:30 +02:00
drm_gem_cma_helper.h
drm_global.h
drm_hashtab.h
drm_legacy.h
drm: Hide master MAP cleanup in drm_bufs.c
2016-04-27 10:14:17 +02:00
drm_mem_util.h
drm,i915: Introduce drm_malloc_gfp()
2016-04-11 17:13:10 +01:00
drm_mipi_dsi.h
drm/dsi: Add uevent callback
2016-06-13 10:45:57 +02:00
drm_mm.h
drm_modes.h
drm/doc: Switch to sphinx/rst fixed-width quoting
2016-06-03 20:58:24 +02:00
drm_modeset_helper_vtables.h
drm/atomic-helper: nonblocking commit support
2016-06-10 17:11:16 +02:00
drm_modeset_lock.h
drm_of.h
drm: add drm_of_encoder_active_endpoint helpers
2016-02-10 14:19:21 +01:00
drm_os_linux.h
drm_panel.h
drm/panel: Flesh out kerneldoc
2016-05-06 16:04:48 +02:00
drm_pciids.h
drm_plane_helper.h
drm: Deal with rotation in drm_plane_helper_check_update()
2016-06-17 16:41:25 +02:00
drm_rect.h
drm_simple_kms_helper.h
drm: Add helper for simple display pipeline
2016-06-10 17:33:17 +02:00
drm_sysfs.h
drm_vma_manager.h
drm/vma_manage: Drop has_offset
2016-04-20 12:58:53 +02:00
drmP.h
drm: Refactor drop/set master code a bit
2016-06-21 21:56:28 +02:00
gma_drm.h
i915_component.h
i915_drm.h
drm/i915: Canonicalize stolen memory calculations
2016-04-25 13:30:32 +03:00
i915_pciids.h
drm/i915/skl: Add missing SKL ids
2016-02-08 15:31:34 +02:00
intel-gtt.h