diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-02-17 15:32:06 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-02-19 11:13:25 +0300 |
commit | 19089b760e56c97458c272e90e43da761b05cf12 (patch) | |
tree | 144e50a7ad9f3f94a21535170e62d51834c3285c /drivers/gpu/drm/qxl/qxl_prime.c | |
parent | 4fff19ae427548d8c37260c975a4b20d3c040ec6 (diff) | |
download | linux-19089b760e56c97458c272e90e43da761b05cf12.tar.xz |
drm/qxl: fix lockdep issue in qxl_alloc_release_reserved
Call qxl_bo_unpin (which does a reservation) without holding the
release_mutex lock. Fixes lockdep (correctly) warning on a possible
deadlock.
Fixes: 65ffea3c6e73 ("drm/qxl: unpin release objects")
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20210217123213.2199186-5-kraxel@redhat.com
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_prime.c')
0 files changed, 0 insertions, 0 deletions