search for: power_check

Displaying 8 results from an estimated 8 matches for "power_check".

Did you mean: power_checks
2019 Jul 15
2
[PATCH v2 2/4] gpio: fail if gpu external power is missing
...subdev/gpio/base.c > index 1399d923..c4685807 100644 > --- a/drm/nouveau/nvkm/subdev/gpio/base.c > +++ b/drm/nouveau/nvkm/subdev/gpio/base.c > @@ -182,12 +182,35 @@ static const struct dmi_system_id gpio_reset_ids[] = { > { } > }; > > +static enum dcb_gpio_func_name power_checks[] = { > + DCB_GPIO_EXT_POWER_LOW, > +}; > + > static int > nvkm_gpio_init(struct nvkm_subdev *subdev) > { > struct nvkm_gpio *gpio = nvkm_gpio(subdev); > + struct dcb_gpio_func func; > + int ret; > + int i; > + > if (dm...
2019 Jul 15
5
[PATCH v2 0/4] Refuse to load if power cables are not connected
Trello: https://trello.com/c/admzDRvd/50-reduce-performance-refuse-to-boot-if-not-all-the-power-connectors-are-plugged Fixed commit messages. Mark Menzynski (4): bios/gpio: sort gpios by values gpio: fail if gpu external power is missing gpio: check the gpio function 16 in the power check as well gpio: check function 76 in the power check as well
2019 Jul 18
5
[PATCH v3 0/4] Refuse to load if power cable are not connected
Added config override for power checks. Mark Menzynski (4): bios/gpio: sort gpios by values gpio: fail if gpu external power is missing gpio: check the gpio function 16 in the power check as well gpio: check function 76 in the power check as well drm/nouveau/include/nvkm/subdev/bios/gpio.h | 5 +++- drm/nouveau/nvkm/subdev/gpio/base.c | 32 +++++++++++++++++++++ 2 files
2019 Jul 11
0
[PATCH 2/4] gpio: checking if gpu power cable is connected
.../nvkm/subdev/gpio/base.c b/drm/nouveau/nvkm/subdev/gpio/base.c index 1399d923..c4685807 100644 --- a/drm/nouveau/nvkm/subdev/gpio/base.c +++ b/drm/nouveau/nvkm/subdev/gpio/base.c @@ -182,12 +182,35 @@ static const struct dmi_system_id gpio_reset_ids[] = { { } }; +static enum dcb_gpio_func_name power_checks[] = { + DCB_GPIO_EXT_POWER_LOW, +}; + static int nvkm_gpio_init(struct nvkm_subdev *subdev) { struct nvkm_gpio *gpio = nvkm_gpio(subdev); + struct dcb_gpio_func func; + int ret; + int i; + if (dmi_check_system(gpio_reset_ids)) nvkm_gpio_reset(gpio, DCB_GPIO_UNUSED); + + for (i = 0; i &lt...
2019 Jul 15
0
[PATCH v2 2/4] gpio: fail if gpu external power is missing
.../nvkm/subdev/gpio/base.c b/drm/nouveau/nvkm/subdev/gpio/base.c index 1399d923..c4685807 100644 --- a/drm/nouveau/nvkm/subdev/gpio/base.c +++ b/drm/nouveau/nvkm/subdev/gpio/base.c @@ -182,12 +182,35 @@ static const struct dmi_system_id gpio_reset_ids[] = { { } }; +static enum dcb_gpio_func_name power_checks[] = { + DCB_GPIO_EXT_POWER_LOW, +}; + static int nvkm_gpio_init(struct nvkm_subdev *subdev) { struct nvkm_gpio *gpio = nvkm_gpio(subdev); + struct dcb_gpio_func func; + int ret; + int i; + if (dmi_check_system(gpio_reset_ids)) nvkm_gpio_reset(gpio, DCB_GPIO_UNUSED); + + for (i = 0; i &lt...
2019 Jul 16
0
[PATCH v2 2/4] gpio: fail if gpu external power is missing
...923..c4685807 100644 > > --- a/drm/nouveau/nvkm/subdev/gpio/base.c > > +++ b/drm/nouveau/nvkm/subdev/gpio/base.c > > @@ -182,12 +182,35 @@ static const struct dmi_system_id gpio_reset_ids[] = { > > { } > > }; > > > > +static enum dcb_gpio_func_name power_checks[] = { > > + DCB_GPIO_EXT_POWER_LOW, > > +}; > > + > > static int > > nvkm_gpio_init(struct nvkm_subdev *subdev) > > { > > struct nvkm_gpio *gpio = nvkm_gpio(subdev); > > + struct dcb_gpio_func func; > > + int ret; &...
2019 Jul 11
6
[PATCH 0/4] Refuse to load if the power cable are not connected
trello card: https://trello.com/c/admzDRvd/50-reduce-performance-refuse-to-boot-if-not-all-the-power-connectors-are-plugged Mark Menzynski (4): moved gpio so it is sorted by values gpio: checking if gpu power cable is connected gpio: added power check for another GPIO gpio: added power check for another GPIO drm/nouveau/include/nvkm/subdev/bios/gpio.h | 5 ++++-
2019 Jul 11
0
[PATCH 3/4] gpio: added power check for another GPIO
.../nouveau/nvkm/subdev/gpio/base.c b/drm/nouveau/nvkm/subdev/gpio/base.c index c4685807..0c886543 100644 --- a/drm/nouveau/nvkm/subdev/gpio/base.c +++ b/drm/nouveau/nvkm/subdev/gpio/base.c @@ -183,6 +183,7 @@ static const struct dmi_system_id gpio_reset_ids[] = { }; static enum dcb_gpio_func_name power_checks[] = { + DCB_GPIO_THERM_EXT_POWER_EVENT, DCB_GPIO_EXT_POWER_LOW, }; -- 2.21.0