Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/xe/
H A Dxe_gt_idle.c34 return &kobj_to_gt(kobj->parent)->gtidle; in dev_to_gtidle()
37 static struct xe_gt *gtidle_to_gt(struct xe_gt_idle *gtidle) in gtidle_to_gt() argument
39 return container_of(gtidle, struct xe_gt, gtidle); in gtidle_to_gt()
42 static struct xe_guc_pc *gtidle_to_pc(struct xe_gt_idle *gtidle) in gtidle_to_pc() argument
44 return &gtidle_to_gt(gtidle)->uc.guc.pc; in gtidle_to_pc()
68 static u64 get_residency_ms(struct xe_gt_idle *gtidle, u64 cur_residency) in get_residency_ms() argument
79 prev_residency = gtidle->prev_residency; in get_residency_ms()
80 gtidle->prev_residency = cur_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()
[all …]
H A Dxe_gt_idle.h13 int xe_gt_idle_init(struct xe_gt_idle *gtidle);
H A Dxe_gt_types.h310 struct xe_gt_idle gtidle; member
H A Dxe_gt.c606 err = xe_gt_idle_init(&gt->gtidle); in xe_gt_init()