Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_bo.c xe_bo_evict_pinned_copy() -> mem_type_to_migrate()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
PARAM_VALUE 1 mem_type 2-u32max
DATA_SOURCE 0 xe r ttm_to_xe_device
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bo->ttm.base.resv

drivers/gpu/drm/xe/xe_bo.c xe_bo_move() -> mem_type_to_migrate()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
PARAM_VALUE 1 mem_type 2-7,9-u32max
DATA_SOURCE 0 xe r ttm_to_xe_device
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 ttm_bo->base.resv

drivers/gpu/drm/xe/xe_bo.c xe_bo_move() -> mem_type_to_migrate()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
PARAM_VALUE 1 mem_type 2-7,9-u32max
DATA_SOURCE 0 xe r ttm_to_xe_device
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 ttm_bo->base.resv

drivers/gpu/drm/xe/xe_bo.c xe_bo_restore_pinned() -> mem_type_to_migrate()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
DATA_SOURCE 0 xe r ttm_to_xe_device
RX_PATH
TASK_NOT_RUNNING
LOCK2 bo->ttm.base.resv

drivers/gpu/drm/xe/xe_bo.c xe_ttm_access_memory() -> mem_type_to_migrate()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
PARAM_VALUE 1 mem_type 2-7,9-u32max
DATA_SOURCE 0 xe r ttm_to_xe_device
RX_PATH
TASK_NOT_RUNNING
LOCK2 ttm_bo->base.resv
HALF_LOCKED2 &pool->lock