search for: dcb_gpio_logo_led_pwm

Displaying 16 results from an estimated 16 matches for "dcb_gpio_logo_led_pwm".

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 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 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 15
2
[PATCH v2 2/4] gpio: fail if gpu external power is missing
...de/nvkm/subdev/bios/gpio.h > +++ b/drm/nouveau/include/nvkm/subdev/bios/gpio.h > @@ -7,6 +7,7 @@ enum dcb_gpio_func_name { > DCB_GPIO_TVDAC0 = 0x0c, > DCB_GPIO_TVDAC1 = 0x2d, > DCB_GPIO_FAN_SENSE = 0x3d, > + DCB_GPIO_EXT_POWER_LOW = 0x79, > DCB_GPIO_LOGO_LED_PWM = 0x84, > DCB_GPIO_UNUSED = 0xff, > DCB_GPIO_VID0 = 0x04, > diff --git a/drm/nouveau/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/bas...
2016 Aug 22
10
[PATCH v2] drm/nouveau: add a LED driver for the NVIDIA logo
...h b/drm/nouveau/include/nvkm/subdev/bios/gpio.h index a47d46d..b7a54e6 100644 --- a/drm/nouveau/include/nvkm/subdev/bios/gpio.h +++ b/drm/nouveau/include/nvkm/subdev/bios/gpio.h @@ -6,6 +6,7 @@ enum dcb_gpio_func_name { DCB_GPIO_TVDAC1 = 0x2d, DCB_GPIO_FAN = 0x09, DCB_GPIO_FAN_SENSE = 0x3d, + DCB_GPIO_LOGO_LED_PWM = 0x84, DCB_GPIO_UNUSED = 0xff, DCB_GPIO_VID0 = 0x04, DCB_GPIO_VID1 = 0x05, diff --git a/drm/nouveau/nouveau_drm.c b/drm/nouveau/nouveau_drm.c index d06877d..dc97401 100644 --- a/drm/nouveau/nouveau_drm.c +++ b/drm/nouveau/nouveau_drm.c @@ -49,6 +49,7 @@ #include "nouveau_ttm.h" #...
2016 Sep 16
7
[PATCH 1/3] drm/nouveau/led: don't access led subdev if it wasn't initialized
From: Karol Herbst <karolherbst at gmail.com> Fixes a kernel crash on suspend/resume. --- drm/nouveau/nouveau_led.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drm/nouveau/nouveau_led.c b/drm/nouveau/nouveau_led.c index 9eed5a6..5e28b5f 100644 --- a/drm/nouveau/nouveau_led.c +++ b/drm/nouveau/nouveau_led.c @@ -107,7 +107,8 @@ nouveau_led_suspend(struct
2016 Aug 22
0
[PATCH v2] drm/nouveau: add a LED driver for the NVIDIA logo
...h b/drm/nouveau/include/nvkm/subdev/bios/gpio.h index a47d46d..b7a54e6 100644 --- a/drm/nouveau/include/nvkm/subdev/bios/gpio.h +++ b/drm/nouveau/include/nvkm/subdev/bios/gpio.h @@ -6,6 +6,7 @@ enum dcb_gpio_func_name { DCB_GPIO_TVDAC1 = 0x2d, DCB_GPIO_FAN = 0x09, DCB_GPIO_FAN_SENSE = 0x3d, + DCB_GPIO_LOGO_LED_PWM = 0x84, DCB_GPIO_UNUSED = 0xff, DCB_GPIO_VID0 = 0x04, DCB_GPIO_VID1 = 0x05, diff --git a/drm/nouveau/nouveau_drm.c b/drm/nouveau/nouveau_drm.c index 66c1280..0f16652 100644 --- a/drm/nouveau/nouveau_drm.c +++ b/drm/nouveau/nouveau_drm.c @@ -47,6 +47,7 @@ #include "nouveau_ttm.h" #...
2016 May 03
0
[PATCH] drm/nouveau: add a LED driver for the NVIDIA logo
...6d..b7a54e6 100644 > --- a/drm/nouveau/include/nvkm/subdev/bios/gpio.h > +++ b/drm/nouveau/include/nvkm/subdev/bios/gpio.h > @@ -6,6 +6,7 @@ enum dcb_gpio_func_name { > DCB_GPIO_TVDAC1 = 0x2d, > DCB_GPIO_FAN = 0x09, > DCB_GPIO_FAN_SENSE = 0x3d, > + DCB_GPIO_LOGO_LED_PWM = 0x84, > DCB_GPIO_UNUSED = 0xff, > DCB_GPIO_VID0 = 0x04, > DCB_GPIO_VID1 = 0x05, > diff --git a/drm/nouveau/nouveau_drm.c b/drm/nouveau/nouveau_drm.c > index d06877d..dc97401 100644 > --- a/drm/nouveau/nouveau_drm.c > +++ b/drm/nouveau/nouveau_drm.c &gt...
2016 Aug 23
0
[PATCH v2] drm/nouveau: add a LED driver for the NVIDIA logo
...6d..b7a54e6 100644 > --- a/drm/nouveau/include/nvkm/subdev/bios/gpio.h > +++ b/drm/nouveau/include/nvkm/subdev/bios/gpio.h > @@ -6,6 +6,7 @@ enum dcb_gpio_func_name { > DCB_GPIO_TVDAC1 = 0x2d, > DCB_GPIO_FAN = 0x09, > DCB_GPIO_FAN_SENSE = 0x3d, > + DCB_GPIO_LOGO_LED_PWM = 0x84, > DCB_GPIO_UNUSED = 0xff, > DCB_GPIO_VID0 = 0x04, > DCB_GPIO_VID1 = 0x05, > diff --git a/drm/nouveau/nouveau_drm.c b/drm/nouveau/nouveau_drm.c > index d06877d..dc97401 100644 > --- a/drm/nouveau/nouveau_drm.c > +++ b/drm/nouveau/nouveau_drm.c &gt...
2016 May 07
0
[PATCH] drm/nouveau: add a LED driver for the NVIDIA logo
...6d..b7a54e6 100644 > --- a/drm/nouveau/include/nvkm/subdev/bios/gpio.h > +++ b/drm/nouveau/include/nvkm/subdev/bios/gpio.h > @@ -6,6 +6,7 @@ enum dcb_gpio_func_name { > DCB_GPIO_TVDAC1 = 0x2d, > DCB_GPIO_FAN = 0x09, > DCB_GPIO_FAN_SENSE = 0x3d, > + DCB_GPIO_LOGO_LED_PWM = 0x84, > DCB_GPIO_UNUSED = 0xff, > DCB_GPIO_VID0 = 0x04, > DCB_GPIO_VID1 = 0x05, > diff --git a/drm/nouveau/nouveau_drm.c b/drm/nouveau/nouveau_drm.c > index d06877d..dc97401 100644 > --- a/drm/nouveau/nouveau_drm.c > +++ b/drm/nouveau/nouveau_drm.c &gt...
2016 Sep 16
0
[PATCH 3/3] drm/nouveau/led: abort early if the device does not have GPIOs
...2f1b6 100644 --- a/drm/nouveau/nouveau_led.c +++ b/drm/nouveau/nouveau_led.c @@ -82,6 +82,9 @@ nouveau_led_init(struct drm_device *dev) struct dcb_gpio_func logo_led; int ret; + if (!gpio) + return 0; + /* check that there is a GPIO controlling the logo LED */ if (nvkm_gpio_find(gpio, 0, DCB_GPIO_LOGO_LED_PWM, 0xff, &logo_led)) return 0; -- 2.8.0
2019 Jul 11
0
[PATCH 1/4] moved gpio so it is sorted by values
.../subdev/bios/gpio.h +++ b/drm/nouveau/include/nvkm/subdev/bios/gpio.h @@ -3,9 +3,9 @@ #define __NVBIOS_GPIO_H__ enum dcb_gpio_func_name { DCB_GPIO_PANEL_POWER = 0x01, + DCB_GPIO_FAN = 0x09, DCB_GPIO_TVDAC0 = 0x0c, DCB_GPIO_TVDAC1 = 0x2d, - DCB_GPIO_FAN = 0x09, DCB_GPIO_FAN_SENSE = 0x3d, DCB_GPIO_LOGO_LED_PWM = 0x84, DCB_GPIO_UNUSED = 0xff, -- 2.21.0
2019 Jul 11
0
[PATCH 2/4] gpio: checking if gpu power cable is connected
...os/gpio.h index 2f40935f..a70ec9e8 100644 --- a/drm/nouveau/include/nvkm/subdev/bios/gpio.h +++ b/drm/nouveau/include/nvkm/subdev/bios/gpio.h @@ -7,6 +7,7 @@ enum dcb_gpio_func_name { DCB_GPIO_TVDAC0 = 0x0c, DCB_GPIO_TVDAC1 = 0x2d, DCB_GPIO_FAN_SENSE = 0x3d, + DCB_GPIO_EXT_POWER_LOW = 0x79, DCB_GPIO_LOGO_LED_PWM = 0x84, DCB_GPIO_UNUSED = 0xff, DCB_GPIO_VID0 = 0x04, diff --git a/drm/nouveau/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 str...
2019 Jul 15
0
[PATCH v2 2/4] gpio: fail if gpu external power is missing
...os/gpio.h index 2f40935f..a70ec9e8 100644 --- a/drm/nouveau/include/nvkm/subdev/bios/gpio.h +++ b/drm/nouveau/include/nvkm/subdev/bios/gpio.h @@ -7,6 +7,7 @@ enum dcb_gpio_func_name { DCB_GPIO_TVDAC0 = 0x0c, DCB_GPIO_TVDAC1 = 0x2d, DCB_GPIO_FAN_SENSE = 0x3d, + DCB_GPIO_EXT_POWER_LOW = 0x79, DCB_GPIO_LOGO_LED_PWM = 0x84, DCB_GPIO_UNUSED = 0xff, DCB_GPIO_VID0 = 0x04, diff --git a/drm/nouveau/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 str...
2019 Jul 16
0
[PATCH v2 2/4] gpio: fail if gpu external power is missing
...; +++ b/drm/nouveau/include/nvkm/subdev/bios/gpio.h > > @@ -7,6 +7,7 @@ enum dcb_gpio_func_name { > > DCB_GPIO_TVDAC0 = 0x0c, > > DCB_GPIO_TVDAC1 = 0x2d, > > DCB_GPIO_FAN_SENSE = 0x3d, > > + DCB_GPIO_EXT_POWER_LOW = 0x79, > > DCB_GPIO_LOGO_LED_PWM = 0x84, > > DCB_GPIO_UNUSED = 0xff, > > DCB_GPIO_VID0 = 0x04, > > diff --git a/drm/nouveau/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/dr...
2016 Aug 23
1
[PATCH v2] drm/nouveau: add a LED driver for the NVIDIA logo
...a/drm/nouveau/include/nvkm/subdev/bios/gpio.h >> +++ b/drm/nouveau/include/nvkm/subdev/bios/gpio.h >> @@ -6,6 +6,7 @@ enum dcb_gpio_func_name { >> DCB_GPIO_TVDAC1 = 0x2d, >> DCB_GPIO_FAN = 0x09, >> DCB_GPIO_FAN_SENSE = 0x3d, >> + DCB_GPIO_LOGO_LED_PWM = 0x84, >> DCB_GPIO_UNUSED = 0xff, >> DCB_GPIO_VID0 = 0x04, >> DCB_GPIO_VID1 = 0x05, >> diff --git a/drm/nouveau/nouveau_drm.c b/drm/nouveau/nouveau_drm.c >> index d06877d..dc97401 100644 >> --- a/drm/nouveau/nouveau_drm.c >> +++...