summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ttm
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2020-03-17 09:29:11 +0100
committerMaxime Ripard <maxime@cerno.tech>2020-03-17 09:29:11 +0100
commit51b8479ab20ba3804348824c63abdb3f35b0aaeb (patch)
treef3ecae09fc31773c9da185de167bf2034f1aaa2e /drivers/gpu/drm/ttm
parent6afe6929964bca6847986d0507a555a041f07753 (diff)
parent69ddce0970d9d1de63bed9c24eefa0814db29a5a (diff)
Merge drm/drm-next into drm-misc-next
Jernej needs some patches that got merged in -rc5. Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'drivers/gpu/drm/ttm')
-rw-r--r--drivers/gpu/drm/ttm/ttm_bo_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c
index f1f670642c97..52d2b71f1588 100644
--- a/drivers/gpu/drm/ttm/ttm_bo_util.c
+++ b/drivers/gpu/drm/ttm/ttm_bo_util.c
@@ -514,6 +514,7 @@ static int ttm_buffer_object_transfer(struct ttm_buffer_object *bo,
fbo->base.base.resv = &fbo->base.base._resv;
dma_resv_init(&fbo->base.base._resv);
+ fbo->base.base.dev = NULL;
ret = dma_resv_trylock(&fbo->base.base._resv);
WARN_ON(!ret);