drm/ttm: set both resv and base.resv pointers
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 5 Aug 2019 14:01:11 +0000 (16:01 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 6 Aug 2019 06:21:54 +0000 (08:21 +0200)
commit2e3c9ec4d151c04d75546dfdc2f85a84ad546eb0
tree5ba9fb5c312e7e58905eae03468197c3917a943f
parentb96f3e7c8069b749a40ca3a33c97835d57dd45d2
drm/ttm: set both resv and base.resv pointers

Initialize both ttm_buffer_object->resv and ttm_buffer_object->base.resv
pointers.  This allows to move users from the former to the latter.  When
all users are moved we can drop ttm_buffer_object->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-10-kraxel@redhat.com
drivers/gpu/drm/ttm/ttm_bo.c