Home
last modified time | relevance | path

Searched refs:cur_residency (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_gt_idle.c68 static u64 get_residency_ms(struct xe_gt_idle *gtidle, u64 cur_residency) in get_residency_ms() argument
80 gtidle->prev_residency = cur_residency; in get_residency_ms()
83 if (cur_residency >= prev_residency) in get_residency_ms()
84 delta = cur_residency - prev_residency; in get_residency_ms()
86 delta = cur_residency + (overflow_residency - prev_residency); in get_residency_ms()
89 cur_residency = gtidle->cur_residency + delta; in get_residency_ms()
90 gtidle->cur_residency = cur_residency; in get_residency_ms()
93 cur_residency = mul_u64_u32_div(cur_residency, gtidle->residency_multiplier, 1e6); in get_residency_ms()
95 return cur_residency; in get_residency_ms()
Dxe_gt_idle_types.h29 u64 cur_residency; member
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_rc6_types.h29 u64 cur_residency[INTEL_RC6_RES_MAX]; member
Dintel_rc6.c849 time_hw += rc6->cur_residency[id]; in intel_rc6_residency_ns()
850 rc6->cur_residency[id] = time_hw; in intel_rc6_residency_ns()