diff options
| author | Thomas Zimmermann <[email protected]> | 2018-10-16 08:04:09 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-11-05 19:20:52 +0000 |
| commit | 105f20706fb5df8b763e3d9a9bfbfa73386391c3 (patch) | |
| tree | 68211ef5e7cc5aa0bab8ef5a83858e682057d275 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm/ttm: Rename ttm_bo_global_{init,release}() to ttm_bo_global_ref_{,}() (diff) | |
| download | kernel-105f20706fb5df8b763e3d9a9bfbfa73386391c3.tar.gz kernel-105f20706fb5df8b763e3d9a9bfbfa73386391c3.zip | |
drm/ttm: Provide ttm_bo_global_{init/release}() for struct ttm_bo_global
So far, struct ttm_bo_global_ref was the only way of initializing a struct
ttm_bo_global. Providing separate initializer and release functions for
struct ttm_bo_global gives drivers the option of implementing their own
init and release callbacks for drm_global_references of type
DRM_GLOBAL_TTM_BO.
The original functions for initializing and releasing via struct
ttm_bo_global_ref are wrappers around the new interfaces.
Signed-off-by: Thomas Zimmermann <[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_irq.c')
0 files changed, 0 insertions, 0 deletions
