drm/nouveau/kms/nv50-: Explicitly check DPCD backlights for aux enable/brightness
authorLyude Paul <lyude@redhat.com>
Fri, 5 Nov 2021 18:33:39 +0000 (14:33 -0400)
committerLyude Paul <lyude@redhat.com>
Wed, 17 Nov 2021 22:36:47 +0000 (17:36 -0500)
commitf5dee1283f6289342e720446ac777ce3aaf95f13
tree9f5d93977771638298338475e09dcb7dcc6ed4d1
parent04f0d6cc62cc1eaf9242c081520c024a17ba86a3
drm/nouveau/kms/nv50-: Explicitly check DPCD backlights for aux enable/brightness

Since we don't support hybrid AUX/PWM backlights in nouveau right now,
let's add some explicit checks so that we don't break nouveau once we
enable support for these backlights in other drivers.

Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211105183342.130810-3-lyude@redhat.com
drivers/gpu/drm/nouveau/nouveau_backlight.c