diff options
author | Maarten Lankhorst <[email protected]> | 2019-01-08 17:08:38 +0100 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2019-01-24 13:02:08 +0100 |
commit | 63a23d245b2cb094be99d274204e458eb2810410 (patch) | |
tree | c7ec0add6f5e5a95d756f15db87637e55d72b8f8 /scripts/bpf_helpers_doc.py | |
parent | f6626e1d96ed33f16d5a8ca5df4bbc2b374738ee (diff) |
drm/i915/backlight: Restore backlight on resume, v3.
Restore our saved values for backlight. This way even with fastset on
S4 resume we will correctly restore the backlight to the active values.
Changes since v1:
- Call enable_backlight() when backlight.level is set. On suspend
backlight.enabled is always cleared, this makes it not a good
indicator. Also check for crtc->state->active.
Changes since v2:
- Use the new update_pipe() callback to run this on resume as well.
Signed-off-by: Maarten Lankhorst <[email protected]>
Cc: Tolga Cakir <[email protected]>
Cc: Basil Eric Rabi <[email protected]>
Cc: Hans de Goede <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Reported-by: Ville Syrjälä <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions