Commit 02cfe5a3 authored by Jani Nikula's avatar Jani Nikula
Browse files

drm/i915: don't capture DERRMR for VLV/CHV

parent 737c725b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2343,7 +2343,7 @@ intel_display_irq_snapshot_capture(struct intel_display *display)
	if (!snapshot)
		return NULL;

	if (DISPLAY_VER(display) >= 6 && DISPLAY_VER(display) < 20)
	if (DISPLAY_VER(display) >= 6 && DISPLAY_VER(display) < 20 && !HAS_GMCH(display))
		snapshot->derrmr = intel_de_read(display, DERRMR);

	return snapshot;