Commit ad404016 authored by Thomas Hellstrom's avatar Thomas Hellstrom Committed by Ben Hutchings
Browse files

drm/ttm: Fixed a read/write lock imbalance



commit 025af189 upstream.

In ttm_write_lock(), the uninterruptible path should call
__ttm_write_lock() not __ttm_read_lock().  This fixes a vmwgfx hang
on F23 start up.

syeh: Extracted this from one of Thomas' internal patches.

Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: default avatarSinclair Yeh <syeh@vmware.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent ddab0155
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment