diff options
| author | Imre Deak <[email protected]> | 2021-11-25 17:16:03 +0000 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2021-11-29 20:21:29 +0000 |
| commit | 74ba89c08e309bfeb2b2f401bf588ab54a1542fe (patch) | |
| tree | 59bb85395f8b1f063a468f5a71c33958a71d2779 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | Revert "drm/i915/dg2: Tile 4 plane format support" (diff) | |
| download | kernel-74ba89c08e309bfeb2b2f401bf588ab54a1542fe.tar.gz kernel-74ba89c08e309bfeb2b2f401bf588ab54a1542fe.zip | |
drm/i915: Fix DPT suspend/resume on !HAS_DISPLAY platforms
The drm.mode_config state is not initialized in case of !HAS_DISPLAY
so taking the fb_lock and iterating the fb list won't work on those
platforms. Skip the suspend/resume with an explicit check for this.
Fixes: 9755f055f512 ("drm/i915: Restore memory mapping for DPT FBs across system suspend/resume")
Cc: Chris Wilson <[email protected]>
Cc: Ville Syrjala <[email protected]>
Cc: Jani Nikula <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions
