drm/i915/dp: Increase idle pattern wait timeout to 2ms
authorShekhar Chauhan <shekhar.chauhan@intel.com>
Mon, 11 Mar 2024 04:15:04 +0000 (09:45 +0530)
committerJani Nikula <jani.nikula@intel.com>
Thu, 14 Mar 2024 08:43:01 +0000 (10:43 +0200)
commit2c215a93b92449befa0b6ea795741b813c34cce2
tree0e101f23f8f1d201b3d3fe5b69fda3e29b04acf0
parent71b218771426ea84c0e0148a2b7ac52c1f76e792
drm/i915/dp: Increase idle pattern wait timeout to 2ms

The driver currently waits 1ms for idle patterns,
but for Xe2LPD and possibly future display IPs,
it requires a 1640us (rounded up to 2ms) timeout
whilst waiting for idle patterns for MST streams.

To simplify the code, the timeout is uniformly
increased by 1ms across all platforms/display IPs.

v1: Introduced the 2ms wait timeout.
v2: Segregated the wait timeout for platforms before & after LNL.
v3: Fixed 2 cosmetic changes.
v4: Revert to v2 design with commit message enhancements.
v5: Minor cosmetic changes to the commit message.

BSpec: 68849
Signed-off-by: Shekhar Chauhan <shekhar.chauhan@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240311041504.806058-1-shekhar.chauhan@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_ddi.c