summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2017-11-14 00:12:01 +0100
committerJani Nikula <jani.nikula@intel.com>2017-11-14 11:08:17 +0200
commit0c51ef8684e30333ee2a7cef359258d91727166b (patch)
tree39e92141549d6f0d7a964a9715108b356cf2f68f /drivers/dma-buf
parent5d276a1acaa80f4b7a76577510a2b1835ce01f4f (diff)
downloadlinux-stable-0c51ef8684e30333ee2a7cef359258d91727166b.tar.gz
linux-stable-0c51ef8684e30333ee2a7cef359258d91727166b.tar.bz2
linux-stable-0c51ef8684e30333ee2a7cef359258d91727166b.zip
drm/debugfs: Fix framebuffer debugfs file init
The introduction of: drm/framebuffer: Add framebuffer debugfs file broke vgem. That patch assumed that all drivers had initialized the dev->mode_config.fb_lock mutex which happens in drm_mode_config_init(). vgem doesn't need to call drm_mode_config_init(). Fix this by only creating the framebuffer debugfs file for modesetting drivers. Fixes: 45d58b40292b ("drm/framebuffer: Add framebuffer debugfs file") Suggested-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171113231201.26177-1-noralf@tronnes.org
Diffstat (limited to 'drivers/dma-buf')
0 files changed, 0 insertions, 0 deletions