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 86c82c8 commit 74ba89cCopy full SHA for 74ba89c
drivers/gpu/drm/i915/display/intel_dpt.c
@@ -183,6 +183,9 @@ void intel_dpt_resume(struct drm_i915_private *i915)
183
{
184
struct drm_framebuffer *drm_fb;
185
186
+ if (!HAS_DISPLAY(i915))
187
+ return;
188
+
189
mutex_lock(&i915->drm.mode_config.fb_lock);
190
drm_for_each_fb(drm_fb, &i915->drm) {
191
struct intel_framebuffer *fb = to_intel_framebuffer(drm_fb);
@@ -207,6 +210,9 @@ void intel_dpt_suspend(struct drm_i915_private *i915)
207
210
208
211
209
212
213
214
215
216
217
218
0 commit comments