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@amd.com> Reviewed-by:
Harry Wentland <Harry.Wentland@amd.com> Acked-by:
Anthony Koo <Anthony.Koo@amd.com> Acked-by:
Leo Li <sunpeng.li@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 923fe495)
Showing
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 1 addition, 1 deletiondrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
- drivers/gpu/drm/amd/display/dc/core/dc_link.c 1 addition, 11 deletionsdrivers/gpu/drm/amd/display/dc/core/dc_link.c
- drivers/gpu/drm/amd/display/dc/dc_link.h 1 addition, 2 deletionsdrivers/gpu/drm/amd/display/dc/dc_link.h
- drivers/gpu/drm/amd/display/dc/dc_stream.h 0 additions, 1 deletiondrivers/gpu/drm/amd/display/dc/dc_stream.h
Loading
Please register or sign in to comment