[PATCH 0/5] drm/nouveau: Backlight fixes and cleanup

From: Lyude Paul
Date: Wed Aug 22 2018 - 21:22:10 EST


This series fixes some issues with nouveau's backlight support that were
causing kernel panics on module reloads, specifically on systems with
nouveau handling the backlight of one of the displays.

While we're at it, let's cleanup nouveau_backlight.c as well

Lyude Paul (5):
drm/nouveau: Check backlight IDs are >= 0, not > 0
drm/nouveau: Move backlight device into nouveau_connector
drm/nouveau: s/nouveau_backlight_exit/nouveau_backlight_fini/
drm/nouveau: Cleanup indenting in nouveau_backlight.c
drm/nouveau: Refactor nvXX_backlight_init()

drivers/gpu/drm/nouveau/nouveau_backlight.c | 193 ++++++++++----------
drivers/gpu/drm/nouveau/nouveau_connector.c | 20 ++
drivers/gpu/drm/nouveau/nouveau_connector.h | 33 ++++
drivers/gpu/drm/nouveau/nouveau_display.c | 2 -
drivers/gpu/drm/nouveau/nouveau_display.h | 25 ---
drivers/gpu/drm/nouveau/nouveau_drv.h | 2 -
6 files changed, 146 insertions(+), 129 deletions(-)

--
2.17.1