aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-02-16 09:56:40 +0000
committerAlex Deucher <[email protected]>2017-03-30 03:53:07 +0000
commitca9cf68de1e7429e89adb3abdd092d4873e73e29 (patch)
tree052f119a5906d1756fe989b3082cba1a5de1fd1b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/ttm: fix the documentation of ttm_bo_init (diff)
downloadkernel-ca9cf68de1e7429e89adb3abdd092d4873e73e29.tar.gz
kernel-ca9cf68de1e7429e89adb3abdd092d4873e73e29.zip
drm/ttm: add ttm_bo_init_reserved
This variant of ttm_bo_init returns the validated buffer object with the reservation lock held when resv == NULL. This is convenient for callers that want to use the BO immediately, e.g. for initializing its contents. Signed-off-by: Nicolai Hähnle <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions