]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8d3b740704c1d5504c88a3228c85a40101ea536
tree5ba9fb5c312e7e58905eae03468197c3917a943f
parentd0640210f3520d75fd539d331893dec17774c51b
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