Lines Matching +full:render +full:- +full:max
1 // SPDX-License-Identifier: MIT
33 * device/tile#/gt#/freq0/<item>_freq *read-only* files:
34 * - act_freq: The actual resolved frequency decided by PCODE.
35 * - cur_freq: The current one requested by GuC PC to the PCODE.
36 * - rpn_freq: The Render Performance (RP) N level, which is the minimal one.
37 * - rpe_freq: The Render Performance (RP) E level, which is the efficient one.
38 * - rp0_freq: The Render Performance (RP) 0 level, which is the maximum one.
40 * device/tile#/gt#/freq0/<item>_freq *read-write* files:
41 * - min_freq: Min frequency request.
42 * - max_freq: Max frequency request.
43 * If max <= min, then freq_min becomes a fixed frequency request.
49 return &kobj_to_gt(dev->kobj.parent)->uc.guc.pc; in dev_to_pc()
189 * xe_gt_freq_init - Initialize Xe Freq component
199 if (xe->info.skip_guc_pc) in xe_gt_freq_init()
202 gt->freq = kobject_create_and_add("freq0", gt->sysfs); in xe_gt_freq_init()
203 if (!gt->freq) { in xe_gt_freq_init()
204 drm_warn(&xe->drm, "failed to add freq0 directory to %s\n", in xe_gt_freq_init()
205 kobject_name(gt->sysfs)); in xe_gt_freq_init()
209 err = drmm_add_action_or_reset(&xe->drm, freq_fini, gt->freq); in xe_gt_freq_init()
211 drm_warn(&xe->drm, "%s: drmm_add_action_or_reset failed, err: %d\n", in xe_gt_freq_init()
216 err = sysfs_create_files(gt->freq, freq_attrs); in xe_gt_freq_init()
218 drm_warn(&xe->drm, "failed to add freq attrs to %s, err: %d\n", in xe_gt_freq_init()
219 kobject_name(gt->freq), err); in xe_gt_freq_init()