search for: nouveau_dvfs_data

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

2014 Dec 18
2
[RFC PATCH 2/3] dvfs: add support for GK20A
...629a0de4 > --- /dev/null > +++ b/nvkm/include/subdev/dvfs.h > @@ -0,0 +1,30 @@ > +#ifndef __NOUVEAU_DVFS_H__ > +#define __NOUVEAU_DVFS_H__ > + > +#include <core/subdev.h> > +#include <core/device.h> > + > +#include <subdev/timer.h> > + > +struct nouveau_dvfs_data { > + int p_load_target; > + int p_load_max; > + int p_smooth; > + unsigned int avg_load; > +}; > + > +struct nouveau_dvfs { > + struct nouveau_subdev base; > + struct nouveau_alarm alarm; > + struct nouveau_dvfs_data *data; &g...
2014 Dec 18
3
[RFC PATCH 2/3] dvfs: add support for GK20A
...@ -0,0 +1,30 @@ >>> +#ifndef __NOUVEAU_DVFS_H__ >>> +#define __NOUVEAU_DVFS_H__ >>> + >>> +#include <core/subdev.h> >>> +#include <core/device.h> >>> + >>> +#include <subdev/timer.h> >>> + >>> +struct nouveau_dvfs_data { >>> + int p_load_target; >>> + int p_load_max; >>> + int p_smooth; >>> + unsigned int avg_load; >>> +}; >>> + >>> +struct nouveau_dvfs { >>> + struct nouveau_subdev base; >>> + str...
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
.../subdev/dvfs.h new file mode 100644 index 000000000000..3851629a0de4 --- /dev/null +++ b/nvkm/include/subdev/dvfs.h @@ -0,0 +1,30 @@ +#ifndef __NOUVEAU_DVFS_H__ +#define __NOUVEAU_DVFS_H__ + +#include <core/subdev.h> +#include <core/device.h> + +#include <subdev/timer.h> + +struct nouveau_dvfs_data { + int p_load_target; + int p_load_max; + int p_smooth; + unsigned int avg_load; +}; + +struct nouveau_dvfs { + struct nouveau_subdev base; + struct nouveau_alarm alarm; + struct nouveau_dvfs_data *data; +}; + +static inline struct nouveau_dvfs * +nouveau_dvfs(void *obj) +{ + return (void *)nv_dev...
2014 Dec 18
0
[RFC PATCH 2/3] dvfs: add support for GK20A
...vkm/include/subdev/dvfs.h >> @@ -0,0 +1,30 @@ >> +#ifndef __NOUVEAU_DVFS_H__ >> +#define __NOUVEAU_DVFS_H__ >> + >> +#include <core/subdev.h> >> +#include <core/device.h> >> + >> +#include <subdev/timer.h> >> + >> +struct nouveau_dvfs_data { >> + int p_load_target; >> + int p_load_max; >> + int p_smooth; >> + unsigned int avg_load; >> +}; >> + >> +struct nouveau_dvfs { >> + struct nouveau_subdev base; >> + struct nouveau_alarm alarm; >> +...
2014 Dec 18
0
[RFC PATCH 2/3] dvfs: add support for GK20A
...fndef __NOUVEAU_DVFS_H__ >>>> +#define __NOUVEAU_DVFS_H__ >>>> + >>>> +#include <core/subdev.h> >>>> +#include <core/device.h> >>>> + >>>> +#include <subdev/timer.h> >>>> + >>>> +struct nouveau_dvfs_data { >>>> + int p_load_target; >>>> + int p_load_max; >>>> + int p_smooth; >>>> + unsigned int avg_load; >>>> +}; >>>> + >>>> +struct nouveau_dvfs { >>>> + struct nouveau_subde...