Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_device.c xe_device_ccs_bytes() -> xe_device_has_flat_ccs()

Type Parameter Key Value
DATA_SOURCE 0 xe $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock
HALF_LOCKED2 bo->ttm.base.resv

drivers/gpu/drm/xe/xe_sriov_vf_ccs.c vf_migration_ccs_bb_needed() -> xe_device_has_flat_ccs()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
BUF_SIZE 0 xe->devres_group s32min-(-1),1-s32max
CAPPED_DATA 0 xe->drm.dev 1
CAPPED_DATA 0 xe->info.tile_count 1
CAPPED_DATA 0 xe->mmio.size 1
DATA_SOURCE 0 xe $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_copy() -> xe_device_has_flat_ccs()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vm->lock
HALF_LOCKED2 dst_bo->ttm.base.resv
HALF_LOCKED2 src_bo->ttm.base.resv

drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_copy() -> xe_device_has_flat_ccs()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 dst_bo->ttm.base.resv
HALF_LOCKED2 src_bo->ttm.base.resv

drivers/gpu/drm/xe/xe_migrate.c blt_copy() -> xe_device_has_flat_ccs()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
HALF_LOCKED2 dst_bo->ttm.base.resv
HALF_LOCKED2 src_bo->ttm.base.resv

drivers/gpu/drm/xe/xe_migrate.c max_mem_transfer_per_pass() -> xe_device_has_flat_ccs()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
DATA_SOURCE 0 xe $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpu/drm/xe/xe_migrate.c validate_ccs_test_run_device() -> xe_device_has_flat_ccs()

Type Parameter Key Value
BUF_SIZE 0 xe s32min,(-10),1-s32max
BUF_SIZE 0 xe s32min,(-10),1-s32max
DATA_SOURCE 0 xe $0

drivers/gpu/drm/xe/xe_migrate.c xe_migrate_needs_ccs_emit() -> xe_device_has_flat_ccs()

Type Parameter Key Value
DATA_SOURCE 0 xe $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_migrate.c xe_migrate_prepare_vm() -> xe_device_has_flat_ccs()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_migrate.c xe_migrate_vram_copy_chunk() -> xe_device_has_flat_ccs()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
DATA_SOURCE 0 xe r ttm_to_xe_device
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 sysmem_bo->ttm.base.resv
HALF_LOCKED2 vram_bo->ttm.base.resv

drivers/gpu/drm/xe/xe_shrinker.c xe_shrinker_runtime_pm_get() -> xe_device_has_flat_ccs()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &bch_register_lock

drivers/gpu/drm/xe/xe_bo.c ccs_test_run_device() -> xe_device_has_flat_ccs()

Type Parameter Key Value
BUF_SIZE 0 xe s32min,(-10),1-s32max
BUF_SIZE 0 xe s32min,(-10),1-s32max
DATA_SOURCE 0 xe $0

drivers/gpu/drm/xe/xe_bo.c shrink_test_run_device() -> xe_device_has_flat_ccs()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
BUF_SIZE 0 xe s32min,(-10),1-s32max
BUF_SIZE 0 xe s32min,(-10),1-s32max
DATA_SOURCE 0 xe $0

drivers/gpu/drm/xe/xe_bo.c xe_bo_needs_ccs_pages() -> xe_device_has_flat_ccs()

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

drivers/gpu/drm/xe/xe_bo_evict.c xe_bo_evict_all_user() -> xe_device_has_flat_ccs()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
BUF_SIZE 0 xe s32min,(-10),(-1),1-s32max
BUF_SIZE 0 xe s32min,(-10),(-1),1-s32max
DATA_SOURCE 0 xe $0
RX_PATH
TASK_NOT_RUNNING