]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use drm_modeset_lock_all() in debugfs display info
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 29 Nov 2019 18:54:31 +0000 (20:54 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 2 Dec 2019 16:38:40 +0000 (18:38 +0200)
commite643f295c10819369556da20bc4e8f7e0b1ebd4c
tree083f7d233f4e3a3520bc68915b6b3289809715f1
parenteaef99f5b3d869eb1975a4866f0ab333e76e9be4
drm/i915: Use drm_modeset_lock_all() in debugfs display info

Make out life easier by just grabbing all modeset locks around
the display_info dump.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191129185434.25549-7-ville.syrjala@linux.intel.com
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
drivers/gpu/drm/i915/i915_debugfs.c