]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Allow some leniency in PCU reads
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 May 2020 04:48:42 +0000 (05:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 May 2020 10:12:37 +0000 (11:12 +0100)
commit3c3163a3d87df7cba87c758b32302e08329868cc
tree8df74fdf38252cc258b2b200fb31538e7c06c9af
parent0d38c76b8bd1e9280d948c721781e5ae4705c2a6
drm/i915: Allow some leniency in PCU reads

Extend the timeout for pcode reads to 20ms as they should not be
performed along critical paths, and succeeding after a short delay is
better than failing entirely.

References: https://gitlab.freedesktop.org/drm/intel/-/issues/1800
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200504044903.7626-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_sideband.c