drm/i915/display: Make intel_dp_aux_fw_sync_len available for PSR code
authorJouni Högander <jouni.hogander@intel.com>
Wed, 13 Mar 2024 13:32:18 +0000 (15:32 +0200)
committerJouni Högander <jouni.hogander@intel.com>
Thu, 14 Mar 2024 14:25:25 +0000 (16:25 +0200)
commit8453c12aa29f0a1fa106df4e9fd618f9235e1123
tree6b8b228bd29cf93328c465a61b65f4884af5643b
parent2c215a93b92449befa0b6ea795741b813c34cce2
drm/i915/display: Make intel_dp_aux_fw_sync_len available for PSR code

ALPM AUX-Wake fast wake sync pulse count is needed by PSR to calculate IO
wake and fast wake lines. Convert intel_dp_aux_fw_sync_len as non-static
to make it available for PSR code.

v2: use int instead of u8

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240313133221.868391-2-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_dp_aux.c
drivers/gpu/drm/i915/display/intel_dp_aux.h