search for: _nouveau_dvfs_dtor

Displaying 6 results from an estimated 6 matches for "_nouveau_dvfs_dtor".

2014 Dec 18
2
[RFC PATCH 2/3] dvfs: add support for GK20A
..._init(&dvfs->base); > + if (ret) > + return ret; > + > + if (!clk || !volt) > + return -EINVAL; > + > + nouveau_timer_alarm(dvfs, 2000000000, &dvfs->alarm); > + > + return 0; > +} > + > +void > +_nouveau_dvfs_dtor(struct nouveau_object *object) > +{ > + struct nouveau_dvfs *dvfs = (void *)object; > + > + nouveau_subdev_destroy(&dvfs->base); > +} > + > +int > +nouveau_dvfs_create_(struct nouveau_object *parent, > + struct nouveau_object *engi...
2014 Dec 18
3
[RFC PATCH 2/3] dvfs: add support for GK20A
...t;> + >>> + if (!clk || !volt) >>> + return -EINVAL; >>> + >>> + nouveau_timer_alarm(dvfs, 2000000000, &dvfs->alarm); >>> + >>> + return 0; >>> +} >>> + >>> +void >>> +_nouveau_dvfs_dtor(struct nouveau_object *object) >>> +{ >>> + struct nouveau_dvfs *dvfs = (void *)object; >>> + >>> + nouveau_subdev_destroy(&dvfs->base); >>> +} >>> + >>> +int >>> +nouveau_dvfs_create_(struct nouveau_object *...
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
...lk = nouveau_clock(object); + struct nouveau_volt *volt = nouveau_volt(object); + int ret; + + ret = nouveau_subdev_init(&dvfs->base); + if (ret) + return ret; + + if (!clk || !volt) + return -EINVAL; + + nouveau_timer_alarm(dvfs, 2000000000, &dvfs->alarm); + + return 0; +} + +void +_nouveau_dvfs_dtor(struct nouveau_object *object) +{ + struct nouveau_dvfs *dvfs = (void *)object; + + nouveau_subdev_destroy(&dvfs->base); +} + +int +nouveau_dvfs_create_(struct nouveau_object *parent, + struct nouveau_object *engine, + struct nouveau_oclass *oclass, + int size, void **pobject) +{ + str...
2014 Dec 18
0
[RFC PATCH 2/3] dvfs: add support for GK20A
...>> + return ret; >> + >> + if (!clk || !volt) >> + return -EINVAL; >> + >> + nouveau_timer_alarm(dvfs, 2000000000, &dvfs->alarm); >> + >> + return 0; >> +} >> + >> +void >> +_nouveau_dvfs_dtor(struct nouveau_object *object) >> +{ >> + struct nouveau_dvfs *dvfs = (void *)object; >> + >> + nouveau_subdev_destroy(&dvfs->base); >> +} >> + >> +int >> +nouveau_dvfs_create_(struct nouveau_object *parent, >> +...
2014 Dec 18
0
[RFC PATCH 2/3] dvfs: add support for GK20A
...lk || !volt) >>>> + return -EINVAL; >>>> + >>>> + nouveau_timer_alarm(dvfs, 2000000000, &dvfs->alarm); >>>> + >>>> + return 0; >>>> +} >>>> + >>>> +void >>>> +_nouveau_dvfs_dtor(struct nouveau_object *object) >>>> +{ >>>> + struct nouveau_dvfs *dvfs = (void *)object; >>>> + >>>> + nouveau_subdev_destroy(&dvfs->base); >>>> +} >>>> + >>>> +int >>>> +nouveau_dvfs...