diff options
author | Thierry Reding <treding@nvidia.com> | 2019-09-16 17:19:24 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2019-09-17 07:50:15 +0300 |
commit | 0bb21c9677e5a5e2355f4f81a4e48afe62257a75 (patch) | |
tree | 3e3418f6a8ba19d80573c1574e8cec323ac8d1b3 /drivers/gpu/drm/mxsfb | |
parent | 9ca7f7968be74ebf02f3a89d605d36bcb636560e (diff) | |
download | linux-0bb21c9677e5a5e2355f4f81a4e48afe62257a75.tar.xz |
drm/nouveau/prime: Extend DMA reservation object lock
Prior to commit 019cbd4a4feb ("drm/nouveau: Initialize GEM object before
TTM object"), the reservation object was locked across all of the buffer
object creation.
After splitting nouveau_bo_new() into separate nouveau_bo_alloc() and
nouveau_bo_init() functions, the reservation object is passed to the
latter, so the lock needs to be held across that function as well.
Fixes: 019cbd4a4feb ("drm/nouveau: Initialize GEM object before TTM object")
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/mxsfb')
0 files changed, 0 insertions, 0 deletions