[Intel-xe] [PATCH 1/2] drm/xe: add a new sysfs directory for gtidle properties

Andi Shyti andi.shyti at linux.intel.com
Wed Jun 14 10:06:56 UTC 2023


Hi Riana,

[...]

> > +	sprintf(gtidle->name, "gt%d-rc\n", gt->info.id);
> > +	/* Multiplier for  RC6 Residency counter in units of 1.28us */
> > +	gtidle->residency_multiplier = 1280;
> > +	gtidle->idle_residency = xe_guc_pc_rc6_residency;
> > +	gtidle->idle_status = xe_guc_pc_rc_status;
> 
> why are we saving "xe_guc_pc_rc_status" and
> "xe_guc_pc_rc6_residency" inside gtidle? What are the
> alternatives? Why can't we call them directly?

OK... I see in the next patch that you have added Meteor Lake
specific functions.

Andi


More information about the Intel-xe mailing list