diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-08-05 16:01:12 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-08-06 08:21:54 +0200 |
commit | e532a135d7044b5477c1c56169fa131d77c57f75 (patch) | |
tree | 5f8feb959d7f0ecacb0f0067e4ce3ef87f337cb6 /drivers/gpu/drm/ttm/ttm_tt.c | |
parent | 2e3c9ec4d151c04d75546dfdc2f85a84ad546eb0 (diff) | |
download | lwn-e532a135d7044b5477c1c56169fa131d77c57f75.tar.gz lwn-e532a135d7044b5477c1c56169fa131d77c57f75.zip |
drm/ttm: switch ttm core from bo->resv to bo->base.resv
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190805140119.7337-11-kraxel@redhat.com
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_tt.c')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_tt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c index e3a0691582ff..00b4a3337840 100644 --- a/drivers/gpu/drm/ttm/ttm_tt.c +++ b/drivers/gpu/drm/ttm/ttm_tt.c @@ -48,7 +48,7 @@ int ttm_tt_create(struct ttm_buffer_object *bo, bool zero_alloc) struct ttm_bo_device *bdev = bo->bdev; uint32_t page_flags = 0; - reservation_object_assert_held(bo->resv); + reservation_object_assert_held(bo->base.resv); if (bdev->need_dma32) page_flags |= TTM_PAGE_FLAG_DMA32; |