OSDN Git Service

drm/i915/display: Increase AUX timeout for Type-C
authorSuraj Kandpal <suraj.kandpal@intel.com>
Tue, 18 Apr 2023 13:14:25 +0000 (18:44 +0530)
committerAnimesh Manna <animesh.manna@intel.com>
Thu, 27 Apr 2023 06:09:09 +0000 (11:39 +0530)
commit0602d59376d391c460925daa3f8ba2b286cdcb4b
tree45f0b34b58ce5e1d785dee2e65ccc1ad2b330776
parentbddc18913bd44adae5c828fd514d570f43ba1576
drm/i915/display: Increase AUX timeout for Type-C

Type-C PHYs are taking longer than expected for Aux IO Power Enabling.
Workaround: Increase the timeout.

---v2
-change style on how we mention WA [Ankit]
-fix bat error by creating new func that is only called for aux power
well scenarios so we can avoid null pointer error as it is called
everywhere.

--v3
-Add non-default enable_timeout to power well descriptor which avoids
adding more platform checks [Imre]

--v4
-Remove Bspec link from top to bottom remove WA link from commit put it
on comment [Jani]
-enable_timeout in ms and add .fixed_enable_delay too [Imre]

--v5
-move power_wells instead of duplicating them [Imre]

Bspec: 55480

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230418131425.1285088-1-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_display_power_map.c
drivers/gpu/drm/i915/display/intel_display_power_well.c
drivers/gpu/drm/i915/display/intel_display_power_well.h