Commit 2982ded2 authored by Uma Shankar's avatar Uma Shankar Committed by Rodrigo Vivi
Browse files

drm/i915/display/fbc: Disable fbc by default on TGL



Fbc is causing random underruns in CI execution on TGL platforms.
Disabling the same while the problem is being debugged and analyzed.

v2: Moved the check below the module param check (Ville)

Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarUma Shankar <uma.shankar@intel.com>
Acked-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200716145857.6911-1-uma.shankar@intel.com


Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent c746063a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1426,6 +1426,13 @@ static int intel_sanitize_fbc_option(struct drm_i915_private *dev_priv)
	if (!HAS_FBC(dev_priv))
		return 0;

	/*
	 * Fbc is causing random underruns in CI execution on TGL platforms.
	 * Disabling the same while the problem is being debugged and analyzed.
	 */
	if (IS_TIGERLAKE(dev_priv))
		return 0;

	if (IS_BROADWELL(dev_priv) || INTEL_GEN(dev_priv) >= 9)
		return 1;