Displaying 4 results from an estimated 4 matches for "nvkm_therm_clkgate_set".
2017 Apr 26
1
[PATCH] drm/nouveau: Add support for clockgating on Fermi+
...e,
> >         therm->fan_set = nvkm_therm_fan_user_set;
> >         therm->attr_get = nvkm_therm_attr_get;
> >         therm->attr_set = nvkm_therm_attr_set;
> > +       therm->clkgate_engine = nvkm_therm_clkgate_engine;
> > +       therm->clkgate_set = nvkm_therm_clkgate_set;
> 
> remove those, because we should only have a nvkm_therm_clkgate_engine
> call
> 
> >         therm->mode = therm->suspend = -1; /* undefined */
> >         return 0;
> >  }
> > diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/therm/clkgate.c
> >...
2017 Apr 25
0
[PATCH] drm/nouveau: Add support for clockgating on Fermi+
...struct nvkm_device *device,
>         therm->fan_set = nvkm_therm_fan_user_set;
>         therm->attr_get = nvkm_therm_attr_get;
>         therm->attr_set = nvkm_therm_attr_set;
> +       therm->clkgate_engine = nvkm_therm_clkgate_engine;
> +       therm->clkgate_set = nvkm_therm_clkgate_set;
remove those, because we should only have a nvkm_therm_clkgate_engine call
>         therm->mode = therm->suspend = -1; /* undefined */
>         return 0;
>  }
> diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/therm/clkgate.c b/drivers/gpu/drm/nouveau/nvkm/subdev/therm/clkgat...
2017 Apr 25
6
[PATCH] drm/nouveau: Add support for clockgating on Fermi+
...@@ nvkm_therm_new_(const struct nvkm_therm_func *func, struct nvkm_device *device,
 	therm->fan_set = nvkm_therm_fan_user_set;
 	therm->attr_get = nvkm_therm_attr_get;
 	therm->attr_set = nvkm_therm_attr_set;
+	therm->clkgate_engine = nvkm_therm_clkgate_engine;
+	therm->clkgate_set = nvkm_therm_clkgate_set;
 	therm->mode = therm->suspend = -1; /* undefined */
 	return 0;
 }
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/therm/clkgate.c b/drivers/gpu/drm/nouveau/nvkm/subdev/therm/clkgate.c
new file mode 100644
index 0000000..c030ea9
--- /dev/null
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/therm...
2017 Apr 25
0
[PATCH] drm/nouveau: Add support for clockgating on Fermi+
...uct nvkm_therm_func *func, struct nvkm_device *device,
>   	therm->fan_set = nvkm_therm_fan_user_set;
>   	therm->attr_get = nvkm_therm_attr_get;
>   	therm->attr_set = nvkm_therm_attr_set;
> +	therm->clkgate_engine = nvkm_therm_clkgate_engine;
> +	therm->clkgate_set = nvkm_therm_clkgate_set;
>   	therm->mode = therm->suspend = -1; /* undefined */
>   	return 0;
>   }
> diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/therm/clkgate.c b/drivers/gpu/drm/nouveau/nvkm/subdev/therm/clkgate.c
> new file mode 100644
> index 0000000..c030ea9
> --- /dev/null
> +++...