[Bug 103714] [BAT] igt at vgem_basic@dmabuf-export - incomplete - BUG: unable to handle kernel NULL pointer dereference at 0000000000000010

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 14 17:55:52 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103714

Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> ---
commit 0c51ef8684e30333ee2a7cef359258d91727166b
Author: Noralf Trønnes <noralf at tronnes.org>
Date:   Tue Nov 14 00:12:01 2017 +0100

    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 at chris-wilson.co.uk>
    Signed-off-by: Noralf Trønnes <noralf at tronnes.org>
    Reviewed-by: Dave Airlie <airlied at redhat.com>
    Signed-off-by: Jani Nikula <jani.nikula at intel.com>
    Link:
https://patchwork.freedesktop.org/patch/msgid/20171113231201.26177-1-noralf@tronnes.org

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20171114/43ac26be/attachment.html>


More information about the intel-gfx-bugs mailing list