[Bug 117861] New: DRM dead lock code path

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon May 9 06:53:01 UTC 2016


https://bugzilla.kernel.org/show_bug.cgi?id=117861

            Bug ID: 117861
           Summary: DRM dead lock code path
           Product: Drivers
           Version: 2.5
    Kernel Version: master 4.4/4.5/4.6
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri at kernel-bugs.osdl.org
          Reporter: qiang.yu at amd.com
        Regression: No

dead lock code path exist for DRM
drivers/gpu/drm/{drm_prime.c,drm_gem.c}

drm_gem_prime_fd_to_handle()
| mutex_lock(&file_priv->prime.lock);
| drm_prime_add_buf_handle() goto fail
| drm_gem_handle_delete()
| | drm_gem_object_release_handle()
| | | drm_gem_remove_prime_handles()
| | | | mutex_lock(&filp->prime.lock)
| mutex_unlock(&file_priv->prime.lock)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list