Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_pm.c xe_pm_init() -> xe_pm_set_vram_threshold()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
PARAM_VALUE 0 xe->d3cold.capable 1
PARAM_VALUE 0 xe->devres_group 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 xe->drm.managed.resources.next 4096-ptr_max
PARAM_VALUE 0 xe->drm.managed.resources.next->next 4096-ptr_max
PARAM_VALUE 0 xe->drm.managed.resources.next->prev 4096-ptr_max
PARAM_VALUE 0 xe->info.has_device_atomics_on_smem 1
PARAM_VALUE 0 xe->info.has_drm_ras 0
PARAM_VALUE 0 xe->info.has_heci_cscfi 0
PARAM_VALUE 0 xe->info.has_heci_gscfi 0
PARAM_VALUE 0 xe->info.has_i2c 0
PARAM_VALUE 0 xe->info.has_late_bind 0
PARAM_VALUE 0 xe->info.has_soc_remapper_sysctrl 0
PARAM_VALUE 0 xe->info.has_soc_remapper_telem 0
PARAM_VALUE 0 xe->info.has_sysctrl 0
PARAM_VALUE 0 xe->info.max_gt_per_tile 0-3
PARAM_VALUE 0 xe->info.probe_display 0
PARAM_VALUE 0 xe->info.skip_guc_pc 1
PARAM_VALUE 0 xe->info.skip_pcode 1
PARAM_VALUE 0 xe->info.tile_count 0-4
PARAM_VALUE 0 xe->mmio.regs 4096-ptr_max
PARAM_VALUE 0 xe->mmio.size 16777216-u64max
PARAM_VALUE 0 xe->pm_notifier.next 0,4096-ptr_max
PARAM_VALUE 0 xe->pm_notifier.notifier_call 5021753386572267520
PARAM_VALUE 0 xe->sriov.__mode 1-3
PARAM_VALUE 0 xe->sriov.pf.driver_max_vfs 1-u16max
PARAM_VALUE 0 xe->wa_active.oob_initialized 1
PARAM_VALUE 0 *xe->survivability.info 0-4294967295
PARAM_VALUE 1 threshold 0,300
BUF_SIZE 0 xe->devres_group s32min-(-1),1-s32max
CAPPED_DATA 0 &xe->pm_notifier 1
DATA_SOURCE 0 xe $0
DATA_SOURCE 1 threshold r vram_threshold_value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_device_sysfs.c vram_d3cold_threshold_store() -> xe_pm_set_vram_threshold()

Type Parameter Key Value
PARAM_VALUE 0 xe 4096-ptr_max
PARAM_VALUE 0 xe->drm.dev->power.request 0-4
PARAM_VALUE 0 xe->drm.dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 xe->drm.dev->power.wakeirq->status 0-4294967295
DATA_SOURCE 0 xe r pdev_to_xe_device
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 threshold 0-u32max
NO_OVERFLOW_SIMPLE 1 threshold
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex