diff options
| author | Nirmoy Das <[email protected]> | 2022-01-07 22:42:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-01-11 20:44:26 +0000 |
| commit | 1dd8b1b987fad93b647cb0fa5289d69b4c889dc2 (patch) | |
| tree | 99faa1f1bb1b49a2c6ae39630272ab1431df936d /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
| parent | drm/amdgpu: Unmap MMIO mappings when device is not unplugged (diff) | |
| download | kernel-1dd8b1b987fad93b647cb0fa5289d69b4c889dc2.tar.gz kernel-1dd8b1b987fad93b647cb0fa5289d69b4c889dc2.zip | |
drm/amdgpu: do not pass ttm_resource_manager to gtt_mgr
Do not allow exported amdgpu_gtt_mgr_*() to accept
any ttm_resource_manager pointer. Also there is no need
to force other module to call a ttm function just to
eventually call gtt_mgr functions.
v4: remove unused adev.
v3: upcast mgr from ttm resopurce manager instead of
getting it from adev.
v2: pass adev's gtt_mgr instead of adev.
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Nirmoy Das <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions
