1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/amdgpu_dm
Leo (Sunpeng) Li 4f346e655d drm/amd/display: Match actual state during S3 resume.
During system suspend, we:

1. Cache a duplicate of the current DRM atomic state, which calls hooks
   to duplicate our internal states.
2. Call hooks to disable all functionalities.
3. System suspended.

During resume, we attempt to restore the cached state. However, our
interal states are now stale, since step 1 was done before step 2.
i.e. our cached state does not reflect the disabled nature of things.

This change resolves that by destroying all relevant states to reflect
the actual state during resume.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-10-21 16:40:54 -04:00
..
amdgpu_dm.c drm/amd/display: Match actual state during S3 resume. 2017-10-21 16:40:54 -04:00
amdgpu_dm.h drm/amd/display: make a bunch of stuff in amdgpu_dm.c static 2017-10-17 10:43:00 +10:00
amdgpu_dm_helpers.c drm/amd/display: Break out amdgpu_dm_connector 2017-09-26 18:17:37 -04:00
amdgpu_dm_irq.c drm/amd/display: make amdgpu_dm_irq_handler static 2017-10-17 10:43:04 +10:00
amdgpu_dm_irq.h drm/amd/display: make amdgpu_dm_irq_handler static 2017-10-17 10:43:04 +10:00
amdgpu_dm_mst_types.c drm/amd/display: make log_dpcd static 2017-10-17 10:43:02 +10:00
amdgpu_dm_mst_types.h drm/amd/display: whitespace cleanup in amdgpu_dm_mst_types.c/h 2017-10-17 10:43:02 +10:00
amdgpu_dm_services.c drm/amd/display: drop unused dm_delay_in_microseconds 2017-10-17 10:43:06 +10:00
Makefile drm/amd/display: Merge amdgpu_dm_types and amdgpu_dm 2017-09-26 18:15:52 -04:00