]> www.infradead.org Git - users/dwmw2/linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jun 2023 09:16:45 +0000 (11:16 +0200)
commitba384ccd2c0ceed2aad6aa0fa8c9569a82af13b7
tree22213f0d7b3663649a2d3420d4a09051e8b54948
parentcc15581052f21a8daa97f8c551ac56931e7dc304
drm/i915: Explain the magic numbers for AUX SYNC/precharge length

[ Upstream commit 26bfc3f36f2104c174dfc72415547d5c28ef3f1c ]

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>
Stable-dep-of: 2d6f2f79e065 ("drm/i915: Use 18 fast wake AUX sync len")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/i915/display/intel_dp_aux.c