aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
diff options
context:
space:
mode:
authorLyude Paul <[email protected]>2022-02-04 18:05:04 +0000
committerLyude Paul <[email protected]>2022-02-08 20:22:16 +0000
commit6b0076540faffd47f5a899bf12f3528c4f0e726b (patch)
treeb8134d6cee32e4b491baa4e13e97554eb6d2fb3d /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
parentnouveau/svm: Use struct_size() helper in nouveau_pfns_map() (diff)
downloadkernel-6b0076540faffd47f5a899bf12f3528c4f0e726b.tar.gz
kernel-6b0076540faffd47f5a899bf12f3528c4f0e726b.zip
drm/nouveau/backlight: Fix LVDS backlight detection on some laptops
It seems that some laptops will report having both an eDP and LVDS connector, even though only the LVDS connector is actually hooked up. This can lead to issues with backlight registration if the eDP connector ends up getting registered before the LVDS connector, as the backlight device will then be registered to the eDP connector instead of the LVDS connector. So, fix this by only registering the backlight on connectors that are reported as being connected. Signed-off-by: Lyude Paul <[email protected]> Fixes: 6eca310e8924 ("drm/nouveau/kms/nv50-: Add basic DPCD backlight support for nouveau") Bugzilla: https://gitlab.freedesktop.org/drm/nouveau/-/issues/137 Cc: <[email protected]> # v5.15+ Reviewed-by: Karol Herbst <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions