diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-02-16 10:56:40 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 23:53:07 -0400 |
commit | ca9cf68de1e7429e89adb3abdd092d4873e73e29 (patch) | |
tree | 052f119a5906d1756fe989b3082cba1a5de1fd1b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 882e8cfcbc2157448976c9d37af4fc144949559f (diff) | |
download | linux-ca9cf68de1e7429e89adb3abdd092d4873e73e29.tar.bz2 |
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 <nicolai.haehnle@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions