drm/i915: Explain the magic numbers for AUX SYNC/precharge length
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 29 Mar 2023 17:24:34 +0000 (20:24 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 3 Apr 2023 22:04:33 +0000 (01:04 +0300)
commit26bfc3f36f2104c174dfc72415547d5c28ef3f1c
tree8c2e86f7590d7711492398b3a07740c6e32d16d5
parent605f7c73133341d4b762cbd9a22174cc22d4c38b
drm/i915: Explain the magic numbers for AUX SYNC/precharge length

Replace the hardcoded final numbers in the AUX SYNC/precharge
setup, and derive those from numbers from the (e)DP specs.

The new functions can serve as the single point of truth for
the number of SYNC pulses we use.

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-2-ville.syrjala@linux.intel.com
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
drivers/gpu/drm/i915/display/intel_dp_aux.c