Displaying 6 results from an estimated 6 matches for "_nouveau_dvfs_fini".
2014 Dec 18
2
[RFC PATCH 2/3] dvfs: add support for GK20A
...nv_trace(dvfs, "set new state to %d\n", state);
> + impl->target(dvfs, &state);
> + }
> +
> +resched:
> + impl->reset_dev_status(dvfs);
> + nouveau_timer_alarm(dvfs, 100000000, alarm);
> +}
> +
> +int
> +_nouveau_dvfs_fini(struct nouveau_object *object, bool suspend)
> +{
> + struct nouveau_dvfs *dvfs = (void *)object;
> +
> + nouveau_timer_alarm_cancel(dvfs, &dvfs->alarm);
> +
> + return nouveau_subdev_fini(&dvfs->base, suspend);
> +}
> +
> +int
> +_nouve...
2014 Dec 18
3
[RFC PATCH 2/3] dvfs: add support for GK20A
...> + impl->target(dvfs, &state);
>>> + }
>>> +
>>> +resched:
>>> + impl->reset_dev_status(dvfs);
>>> + nouveau_timer_alarm(dvfs, 100000000, alarm);
>>> +}
>>> +
>>> +int
>>> +_nouveau_dvfs_fini(struct nouveau_object *object, bool suspend)
>>> +{
>>> + struct nouveau_dvfs *dvfs = (void *)object;
>>> +
>>> + nouveau_timer_alarm_cancel(dvfs, &dvfs->alarm);
>>> +
>>> + return nouveau_subdev_fini(&dvfs->base,...
2014 Dec 18
4
[RFC PATCH 0/3] introduce DVFS for GK20A
Hi,
This is a try to have some simple DVFS (Dynamic Voltage and Frequency Scaling)
support for GK20A. Instead of relying on other existing frequency scaling
framework, we create a simple subdev in Nouveau for the same purpose. That's
because we don't want to make the DVFS implementation for GK20A far more
than enough in the beginning and hinder the implementation for dGPU in the
future.
2014 Dec 18
0
[RFC PATCH 2/3] dvfs: add support for GK20A
...goto resched;
+ }
+
+ if (impl->get_target_state(dvfs, &state, data->avg_load)) {
+ nv_trace(dvfs, "set new state to %d\n", state);
+ impl->target(dvfs, &state);
+ }
+
+resched:
+ impl->reset_dev_status(dvfs);
+ nouveau_timer_alarm(dvfs, 100000000, alarm);
+}
+
+int
+_nouveau_dvfs_fini(struct nouveau_object *object, bool suspend)
+{
+ struct nouveau_dvfs *dvfs = (void *)object;
+
+ nouveau_timer_alarm_cancel(dvfs, &dvfs->alarm);
+
+ return nouveau_subdev_fini(&dvfs->base, suspend);
+}
+
+int
+_nouveau_dvfs_init(struct nouveau_object *object)
+{
+ struct nouveau_dvfs...
2014 Dec 18
0
[RFC PATCH 2/3] dvfs: add support for GK20A
...ew state to %d\n", state);
>> + impl->target(dvfs, &state);
>> + }
>> +
>> +resched:
>> + impl->reset_dev_status(dvfs);
>> + nouveau_timer_alarm(dvfs, 100000000, alarm);
>> +}
>> +
>> +int
>> +_nouveau_dvfs_fini(struct nouveau_object *object, bool suspend)
>> +{
>> + struct nouveau_dvfs *dvfs = (void *)object;
>> +
>> + nouveau_timer_alarm_cancel(dvfs, &dvfs->alarm);
>> +
>> + return nouveau_subdev_fini(&dvfs->base, suspend);
>> +}
&...
2014 Dec 18
0
[RFC PATCH 2/3] dvfs: add support for GK20A
...(dvfs, &state);
>>>> + }
>>>> +
>>>> +resched:
>>>> + impl->reset_dev_status(dvfs);
>>>> + nouveau_timer_alarm(dvfs, 100000000, alarm);
>>>> +}
>>>> +
>>>> +int
>>>> +_nouveau_dvfs_fini(struct nouveau_object *object, bool suspend)
>>>> +{
>>>> + struct nouveau_dvfs *dvfs = (void *)object;
>>>> +
>>>> + nouveau_timer_alarm_cancel(dvfs, &dvfs->alarm);
>>>> +
>>>> + return nouveau_subdev_...