Commit 4efa16ca authored by Rodrigo Vivi's avatar Rodrigo Vivi
Browse files

drm/i915/cnl: Enable fifo underrun for Cannonlake.

parent f9569aa1
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -262,7 +262,7 @@ static bool __intel_set_cpu_fifo_underrun_reporting(struct drm_device *dev,
		ironlake_set_fifo_underrun_reporting(dev, pipe, enable);
		ironlake_set_fifo_underrun_reporting(dev, pipe, enable);
	else if (IS_GEN7(dev_priv))
	else if (IS_GEN7(dev_priv))
		ivybridge_set_fifo_underrun_reporting(dev, pipe, enable, old);
		ivybridge_set_fifo_underrun_reporting(dev, pipe, enable, old);
	else if (IS_GEN8(dev_priv) || IS_GEN9(dev_priv))
	else if (INTEL_GEN(dev_priv) >= 8)
		broadwell_set_fifo_underrun_reporting(dev, pipe, enable);
		broadwell_set_fifo_underrun_reporting(dev, pipe, enable);


	return old;
	return old;