drm/i915: Fix fast wake AUX sync len
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 29 Mar 2023 17:24:33 +0000 (20:24 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 17 Apr 2023 07:23:21 +0000 (10:23 +0300)
commite1c71f8f918047ce822dc19b42ab1261ed259fd1
tree4a613f8a4db0eaa3515ed6f973f081cac33b2ff2
parent6a8f57ae2eb07ab39a6f0ccad60c760743051026
drm/i915: Fix fast wake AUX sync len

Fast wake should use 8 SYNC pulses for the preamble
and 10-16 SYNC pulses for the precharge. Reduce our
fast wake SYNC count to match the maximum value.
We also use the maximum precharge length for normal
AUX transactions.

Cc: stable@vger.kernel.org
Cc: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230329172434.18744-1-ville.syrjala@linux.intel.com
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
(cherry picked from commit 605f7c73133341d4b762cbd9a22174cc22d4c38b)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dp_aux.c