We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d6c916 commit 7230362Copy full SHA for 7230362
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -9093,6 +9093,12 @@ static void amdgpu_dm_atomic_commit_tail(struct drm_atomic_state *state)
9093
/* Update audio instances for each connector. */
9094
amdgpu_dm_commit_audio(dev, state);
9095
9096
+#if defined(CONFIG_BACKLIGHT_CLASS_DEVICE) || \
9097
+ defined(CONFIG_BACKLIGHT_CLASS_DEVICE_MODULE)
9098
+ /* restore the backlight level */
9099
+ if (dm->backlight_dev)
9100
+ amdgpu_dm_backlight_set_level(dm, dm->brightness[0]);
9101
+#endif
9102
/*
9103
* send vblank event on all events not handled in flip and
9104
* mark consumed event for drm_atomic_helper_commit_hw_done
0 commit comments