Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_hwmon.c59 struct hwm_drvdata ddat_gt[I915_MAX_GT]; member
778 hwm_energy(&hwmon->ddat_gt[i], &energy); in hwm_get_preregistration_info()
788 struct hwm_drvdata *ddat_gt; in i915_hwmon_register() local
811 ddat_gt = hwmon->ddat_gt + i; in i915_hwmon_register()
813 ddat_gt->hwmon = hwmon; in i915_hwmon_register()
814 ddat_gt->uncore = gt->uncore; in i915_hwmon_register()
815 snprintf(ddat_gt->name, sizeof(ddat_gt->name), "i915_gt%u", i); in i915_hwmon_register()
816 ddat_gt->gt_n = i; in i915_hwmon_register()
832 ddat_gt = hwmon->ddat_gt + i; in i915_hwmon_register()
837 if (!hwm_gt_is_visible(ddat_gt, hwmon_energy, hwmon_energy_input, 0)) in i915_hwmon_register()
[all …]