diff options
author | Imre Deak <[email protected]> | 2021-11-25 19:16:03 +0200 |
---|---|---|
committer | Imre Deak <[email protected]> | 2021-11-29 22:21:29 +0200 |
commit | 74ba89c08e309bfeb2b2f401bf588ab54a1542fe (patch) | |
tree | 59bb85395f8b1f063a468f5a71c33958a71d2779 /scripts/gdb/linux/tasks.py | |
parent | 86c82c8aeebf6db5df8ab73cec8333853c405070 (diff) |
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 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions