Commit cbb6ea8c authored by Anshuman Gupta's avatar Anshuman Gupta Committed by Lucas De Marchi
Browse files

drm/i915/dg1: DG1 does not support DC6



DC6 is not supported on DG1, so change the allowed DC mask for DG1.
This is not yet on bspec, but it has been confirmed by HW engineers.

Cc: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: default avatarAnshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201014191937.1266226-9-lucas.demarchi@intel.com
parent da942750
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -4492,6 +4492,9 @@ static u32 get_allowed_dc_mask(const struct drm_i915_private *dev_priv,
	int max_dc;

	if (INTEL_GEN(dev_priv) >= 12) {
		if (IS_DG1(dev_priv))
			max_dc = 3;
		else
			max_dc = 4;
		/*
		 * DC9 has a separate HW flow from the rest of the DC states,