Linux/linux 35dad45drivers/gpu/drm/amd/display/amdgpu_dm amdgpu_dm.c, drivers/gpu/drm/amd/display/dc dc_link.h dc_stream.h

drm/amd/display: Detach backlight from stream

[Why]
Backlight is conceptually a property of links, not streams.
All backlight programming is done on links, but there is a
stream property bl_pwm_level that is used to restore backlight
on dpms on and s3 resume.  This is unnecessary, as backlight
is already restored by hardware with no driver intervention.

[How]
Remove bl_pwm_level, and the stream argument to set_backlight

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=109375
Signed-off-by: David Francis <David.Francis at amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland at amd.com>
Acked-by: Anthony Koo <Anthony.Koo at amd.com>
Acked-by: Leo Li <sunpeng.li at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
(cherry picked from commit 923fe4951282cbdfce05186c10380bbc45b5e03b)
DeltaFile
+1-11drivers/gpu/drm/amd/display/dc/core/dc_link.c
+1-2drivers/gpu/drm/amd/display/dc/dc_link.h
+1-1drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+0-1drivers/gpu/drm/amd/display/dc/dc_stream.h
+3-154 files

UnifiedSplitRaw