]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: user reservation object wrappers v2
authorChristian König <christian.koenig@amd.com>
Wed, 8 Nov 2017 20:02:31 +0000 (21:02 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:19 +0000 (12:47 -0500)
commit842cde05840e9203d13383d30cc479f44f4ab599
tree017ea4357f3539fbf173dc684091e897b2675eb8
parent36a0680aac137a9b956fb454d6bf642c9aae0be1
drm/ttm: user reservation object wrappers v2

Consistently use the reservation object wrappers instead of accessing
the ww_mutex directly.

Additional to that use the reservation object wrappers directly instead of
calling __ttm_bo_reserve with fixed parameters.

v2: fix typo

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c
include/drm/ttm/ttm_bo_driver.h