mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-11 15:49:56 +00:00
drm/amd/display: Keep current gain when ABM disable immediately
[Why] When system enters s3/s0i3, backlight PWM would set user level. [How] ABM disable function add keep current gain to avoid it. Signed-off-by: Brandon Syu <Brandon.Syu@amd.com> Reviewed-by: Josip Pavic <Josip.Pavic@amd.com> Acked-by: Eryk Brol <eryk.brol@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
efbde23a3b
commit
cba4b52e43
@ -233,7 +233,7 @@ struct dc_stream_state {
|
||||
union stream_update_flags update_flags;
|
||||
};
|
||||
|
||||
#define ABM_LEVEL_IMMEDIATE_DISABLE 0xFFFFFFFF
|
||||
#define ABM_LEVEL_IMMEDIATE_DISABLE 255
|
||||
|
||||
struct dc_stream_update {
|
||||
struct dc_stream_state *stream;
|
||||
|
Loading…
x
Reference in New Issue
Block a user