Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92b79f43 authored by Keith Packard's avatar Keith Packard
Browse files

drm/i915: Cannot set clock gating under UMS



The clock gating functions are only assigned under KMS, so don't try
to call them under UMS.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
Tested-by: default avatarJustin P. Mattock <justinmattock@gmail.com>
parent c3613de9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -871,6 +871,7 @@ int i915_restore_state(struct drm_device *dev)
	}
	mutex_unlock(&dev->struct_mutex);

	if (drm_core_check_feature(dev, DRIVER_MODESET))
		intel_init_clock_gating(dev);

	if (IS_IRONLAKE_M(dev)) {