Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_fini() -> amdgpu_ttm_unmark_vram_reserved()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gart.bo 0
PARAM_VALUE 0 adev->gart.ptr 0
PARAM_VALUE 0 adev->gmc.gmc_funcs->query_mem_partition_mode 0,8159999353309208576
PARAM_VALUE 0 adev->gmc.is_app_apu 0
PARAM_VALUE 0 adev->mman.initialized 1
PARAM_VALUE 0 adev->psp.mem_train_ctx.init 0
PARAM_VALUE 0 adev->vm_manager.pasids.xa_flags 0-4294967295
PARAM_VALUE 0 adev->vm_manager.pasids.xa_head 0
PARAM_VALUE 1 id 0
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_fini() -> amdgpu_ttm_unmark_vram_reserved()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gart.bo 0
PARAM_VALUE 0 adev->gart.ptr 0
PARAM_VALUE 0 adev->gmc.gmc_funcs->query_mem_partition_mode 0,8159999353309208576
PARAM_VALUE 0 adev->gmc.is_app_apu 0
PARAM_VALUE 0 adev->mman.initialized 1
PARAM_VALUE 0 adev->psp.mem_train_ctx.init 0
PARAM_VALUE 0 adev->vm_manager.pasids.xa_flags 0-4294967295
PARAM_VALUE 0 adev->vm_manager.pasids.xa_head 0
PARAM_VALUE 1 id 1
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_fini() -> amdgpu_ttm_unmark_vram_reserved()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gart.bo 0
PARAM_VALUE 0 adev->gart.ptr 0
PARAM_VALUE 0 adev->gmc.gmc_funcs->query_mem_partition_mode 0,8159999353309208576
PARAM_VALUE 0 adev->gmc.is_app_apu 0
PARAM_VALUE 0 adev->mman.initialized 1
PARAM_VALUE 0 adev->psp.mem_train_ctx.init 0
PARAM_VALUE 0 adev->vm_manager.pasids.xa_flags 0-4294967295
PARAM_VALUE 0 adev->vm_manager.pasids.xa_head 0
PARAM_VALUE 1 id 3
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_fini() -> amdgpu_ttm_unmark_vram_reserved()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gart.bo 0
PARAM_VALUE 0 adev->gart.ptr 0
PARAM_VALUE 0 adev->gmc.gmc_funcs->query_mem_partition_mode 0,8159999353309208576
PARAM_VALUE 0 adev->gmc.is_app_apu 0
PARAM_VALUE 0 adev->mman.initialized 1
PARAM_VALUE 0 adev->psp.mem_train_ctx.init 0
PARAM_VALUE 0 adev->vm_manager.pasids.xa_flags 0-4294967295
PARAM_VALUE 0 adev->vm_manager.pasids.xa_head 0
PARAM_VALUE 1 id 4
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_fini() -> amdgpu_ttm_unmark_vram_reserved()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gart.bo 0
PARAM_VALUE 0 adev->gart.ptr 0
PARAM_VALUE 0 adev->gmc.gmc_funcs->query_mem_partition_mode 0,8159999353309208576
PARAM_VALUE 0 adev->gmc.is_app_apu 0
PARAM_VALUE 0 adev->mman.initialized 1
PARAM_VALUE 0 adev->psp.mem_train_ctx.init 0
PARAM_VALUE 0 adev->vm_manager.pasids.xa_flags 0-4294967295
PARAM_VALUE 0 adev->vm_manager.pasids.xa_head 0
PARAM_VALUE 1 id 2
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_fini() -> amdgpu_ttm_unmark_vram_reserved()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gart.bo 0
PARAM_VALUE 0 adev->gart.ptr 0
PARAM_VALUE 0 adev->gmc.gmc_funcs->query_mem_partition_mode 0,8159999353309208576
PARAM_VALUE 0 adev->mman.initialized 1
PARAM_VALUE 0 adev->mman.sdma_access_bo 0
PARAM_VALUE 0 adev->psp.mem_train_ctx.init 0
PARAM_VALUE 0 adev->rmmio_remap.bo 0
PARAM_VALUE 0 adev->vm_manager.pasids.xa_flags 0-4294967295
PARAM_VALUE 0 adev->vm_manager.pasids.xa_head 0
PARAM_VALUE 1 id 5
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_fini() -> amdgpu_ttm_unmark_vram_reserved()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gart.bo 0
PARAM_VALUE 0 adev->gart.ptr 0
PARAM_VALUE 0 adev->gmc.gmc_funcs->query_mem_partition_mode 0,8159999353309208576
PARAM_VALUE 0 adev->mman.initialized 1
PARAM_VALUE 0 adev->mman.sdma_access_bo 0
PARAM_VALUE 0 adev->psp.mem_train_ctx.init 0
PARAM_VALUE 0 adev->rmmio_remap.bo 0
PARAM_VALUE 0 adev->vm_manager.pasids.xa_flags 0-4294967295
PARAM_VALUE 0 adev->vm_manager.pasids.xa_head 0
PARAM_VALUE 1 id 6
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_training_reserve_vram_fini() -> amdgpu_ttm_unmark_vram_reserved()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gart.bo 0
PARAM_VALUE 0 adev->gart.ptr 0
PARAM_VALUE 0 adev->gmc.gmc_funcs->query_mem_partition_mode 0,8159999353309208576
PARAM_VALUE 0 adev->mman.initialized 1
PARAM_VALUE 0 adev->psp.mem_train_ctx.init 0
PARAM_VALUE 0 adev->vm_manager.pasids.xa_head 0
PARAM_VALUE 1 id 7
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_update_fw_reservation() -> amdgpu_ttm_unmark_vram_reserved()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->firmware.rbuf 0
PARAM_VALUE 0 adev->in_suspend 0
PARAM_VALUE 0 adev->psp.sos.fw_version 3804692-u32max
PARAM_VALUE 0 adev->reset_domain 4096-ptr_max
PARAM_VALUE 1 id 3
FUZZY_MAX 0 adev->psp.sos.fw_version 3870221
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &adev->firmware.mutex
TYPE_LOCK (struct amdgpu_firmware)->mutex