drm/i915/display/mtl: Program latch to phy reset
authorJosé Roberto de Souza <jose.souza@intel.com>
Wed, 1 Mar 2023 20:10:53 +0000 (12:10 -0800)
committerRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Thu, 9 Mar 2023 17:44:53 +0000 (09:44 -0800)
commitc4298d15778bf21eb4834768f04c0dcf7975dec2
treeff416af67d9417008a65ddfe87cf3c2589576e6d
parent561b31acfd65502a2cda2067513240fc57ccdbdc
drm/i915/display/mtl: Program latch to phy reset

Latch reset of phys during DC9 and when driver is unloaded to avoid
phy reset.

Specification ask us to program it closer to the step that enables
DC9 in DC_STATE_EN but doing this way allow us to sanitize the phy
latch during driver load.

BSpec: 49197
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230301201053.928709-6-radhakrishna.sripada@intel.com
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/i915_reg.h