Skip to contentSkip to conversation

drm/i915: Fix build failure in intel_opregion_get_panel_type()

PATCH New Sedat Dilek 1 participant 1 message Jul 14, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: Fix build failure in intel_opregion_get_panel_type()

Tested against drm-intel-nightly (2016y-07m-14d-20h-15m-29s UTC).

Fixes aeddda06c1a704bb9 ("drm/i915: Ignore panel type from OpRegion on SKL")
CC Ville Syrjälä <[email protected]>
CC Daniel Vetter <[email protected]>
---
 drivers/gpu/drm/i915/intel_opregion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_opregion.c +1 -1
index c804630d10d2..adca262d591a 100644
@@ -1078,7 +1078,7 @@ intel_opregion_get_panel_type(struct drm_i915_private *dev_priv)
 	 * vswing instead. Low vswing results in some display flickers, so
 	 * let's simply ignore the OpRegion panel type on SKL for now.
 	 */
-	if (IS_SKYLAKE(dev)) {
+	if (IS_SKYLAKE(dev_priv)) {
 		DRM_DEBUG_KMS("Ignoring OpRegion panel type (%d)\n", ret - 1);
 		return -ENODEV;
 	}
Signature · 6 lines
2.9.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx