> On 10/12/2024 18:45, Johnny Liu wrote:
>
> > +
> > +static int host1x_actmon_sample_period_set(void *data, u64 val)
> > +{
> > + struct host1x_actmon *actmon = (struct host1x_actmon *)data;
> > +
> > + actmon->usecs_per_sample = (u32)val;
> > + host1x_actmon_update_sample_period(actmon);
>
On 10/12/2024 18:45, Johnny Liu wrote:
> +
> +static int host1x_actmon_sample_period_set(void *data, u64 val)
> +{
> + struct host1x_actmon *actmon = (struct host1x_actmon *)data;
> +
> + actmon->usecs_per_sample = (u32)val;
> + host1x_actmon_update_sample_period(actmon);
> +
> + r
An activity monitor (actmon) is used to measure the device runtime
utilization to help drive software power management policies, such as
device dynamic frequency scaling.
For every host1x client, an actmon is employed to monitor its runtime
utilization. Upon detecting an actmon watermark breach ag