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

Commit 7ae6ad6f authored by José Roberto de Souza's avatar José Roberto de Souza
Browse files

drm/i915/psr: Do not enable PSR in interlaced mode for all GENs



This interlaced mode restriction applies to all gens, not only to
Haswell.

Also while at it updating the debug message to.

Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: default avatarDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: default avatarJosé Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190406005112.27205-4-jose.souza@intel.com
parent 98c0d19e
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -630,9 +630,8 @@ void intel_psr_compute_config(struct intel_dp *intel_dp,
		return;
		return;
	}
	}


	if (IS_HASWELL(dev_priv) &&
	if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) {
	    adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) {
		DRM_DEBUG_KMS("PSR condition failed: Interlaced mode enabled\n");
		DRM_DEBUG_KMS("PSR condition failed: Interlaced is Enabled\n");
		return;
		return;
	}
	}