Re: [Intel-gfx] [PATCH] drm/i915: Fix DPT suspend/resume on !HAS_DISPLAY platforms

2021-11-26 Thread Ville Syrjälä
On Thu, Nov 25, 2021 at 07:16:03PM +0200, Imre Deak wrote: > 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 ("dr

[Intel-gfx] [PATCH] drm/i915: Fix DPT suspend/resume on !HAS_DISPLAY platforms

2021-11-25 Thread Imre Deak
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/res