Repository navigation
Commit 2c7f037
drm/vmwgfx: Fix a couple of lock dependency violations
[ Upstream commit 5151adb ]
Experimental lockdep annotation added to the TTM lock has unveiled a
couple of lock dependency violations in the vmwgfx driver. In both
cases it turns out that the device_private::reservation_sem is not
needed so the offending code is moved out of that lock.
Cc: <stable@vger.kernel.org>
Acked-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>1 parent c95800d commit 2c7f037
2 files changed
Lines changed: 6 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2778 | 2778 | | |
2779 | 2779 | | |
2780 | 2780 | | |
2781 | | - | |
| 2781 | + | |
2782 | 2782 | | |
2783 | | - | |
| 2783 | + | |
2784 | 2784 | | |
2785 | 2785 | | |
2786 | 2786 | | |
2787 | | - | |
2788 | | - | |
2789 | | - | |
| 2787 | + | |
2790 | 2788 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2033 | 2033 | | |
2034 | 2034 | | |
2035 | 2035 | | |
2036 | | - | |
2037 | | - | |
2038 | | - | |
2039 | | - | |
2040 | 2036 | | |
2041 | 2037 | | |
2042 | 2038 | | |
2043 | | - | |
| 2039 | + | |
2044 | 2040 | | |
2045 | 2041 | | |
2046 | 2042 | | |
2047 | 2043 | | |
2048 | 2044 | | |
2049 | | - | |
2050 | | - | |
2051 | | - | |
2052 | | - | |
| 2045 | + | |
| 2046 | + | |
2053 | 2047 | | |
2054 | 2048 | | |
2055 | 2049 | | |
| |||
2074 | 2068 | | |
2075 | 2069 | | |
2076 | 2070 | | |
2077 | | - | |
2078 | | - | |
2079 | 2071 | | |
2080 | 2072 | | |
0 commit comments