drm/nouveau: add Maxwell to backlight initialization

Submitted by Faris Alsalama on May 21, 2016, 6:41 p.m.

Details

Message ID 1463856103-4002-1-git-send-email-farisbenbrahem@gmail.com
State New
Headers show
Series "drm/nouveau: add Maxwell to backlight initialization" ( rev: 1 ) in Nouveau

Not browsing as part of any series.

Commit Message

Faris Alsalama May 21, 2016, 6:41 p.m.
Signed-off-by: Faris Alsalama <farisbenbrahem@gmail.com>
---
 drivers/gpu/drm/nouveau/nouveau_backlight.c | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c b/drivers/gpu/drm/nouveau/nouveau_backlight.c
index 89eb460..dd1cc9b 100644
--- a/drivers/gpu/drm/nouveau/nouveau_backlight.c
+++ b/drivers/gpu/drm/nouveau/nouveau_backlight.c
@@ -232,6 +232,7 @@  nouveau_backlight_init(struct drm_device *dev)
 		case NV_DEVICE_INFO_V0_TESLA:
 		case NV_DEVICE_INFO_V0_FERMI:
 		case NV_DEVICE_INFO_V0_KEPLER:
+		case NV_DEVICE_INFO_V0_MAXWELL:
 			return nv50_backlight_init(connector);
 		default:
 			break;

Comments

Acked-by: Pierre Moreau <pierre.morrow@free.fr>

On 02:41 PM - May 21 2016, Faris Alsalama wrote:
> Signed-off-by: Faris Alsalama <farisbenbrahem@gmail.com>
> ---
>  drivers/gpu/drm/nouveau/nouveau_backlight.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c b/drivers/gpu/drm/nouveau/nouveau_backlight.c
> index 89eb460..dd1cc9b 100644
> --- a/drivers/gpu/drm/nouveau/nouveau_backlight.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_backlight.c
> @@ -232,6 +232,7 @@ nouveau_backlight_init(struct drm_device *dev)
>  		case NV_DEVICE_INFO_V0_TESLA:
>  		case NV_DEVICE_INFO_V0_FERMI:
>  		case NV_DEVICE_INFO_V0_KEPLER:
> +		case NV_DEVICE_INFO_V0_MAXWELL:
>  			return nv50_backlight_init(connector);
>  		default:
>  			break;
> -- 
> 2.1.4
> 
> _______________________________________________
> Nouveau mailing list
> Nouveau@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/nouveau
@Ben: ping
I would guess that the same can be done for Pascal as well.

Cheers,
Pierre

On 02:41 PM - May 21 2016, Faris Alsalama wrote:
> Signed-off-by: Faris Alsalama <farisbenbrahem@gmail.com>
> ---
>  drivers/gpu/drm/nouveau/nouveau_backlight.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c b/drivers/gpu/drm/nouveau/nouveau_backlight.c
> index 89eb460..dd1cc9b 100644
> --- a/drivers/gpu/drm/nouveau/nouveau_backlight.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_backlight.c
> @@ -232,6 +232,7 @@ nouveau_backlight_init(struct drm_device *dev)
>  		case NV_DEVICE_INFO_V0_TESLA:
>  		case NV_DEVICE_INFO_V0_FERMI:
>  		case NV_DEVICE_INFO_V0_KEPLER:
> +		case NV_DEVICE_INFO_V0_MAXWELL:
>  			return nv50_backlight_init(connector);
>  		default:
>  			break;
> -- 
> 2.1.4
> 
> _______________________________________________
> Nouveau mailing list
> Nouveau@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/nouveau