[PATCH 01/35] drm/amd/display: Use udelay when waiting between aux retries

sylvain.bertrand at gmail.com sylvain.bertrand at gmail.com
Fri Feb 1 20:47:06 UTC 2019


On Fri, Feb 01, 2019 at 08:08:30PM +0000, sylvain.bertrand at gmail.com wrote:
> Do you mean non-DC displayport related code is already using udelay instead
> of msleep on linux?

I grep-ed amdgpu displayport atombios code, got udelay(400) only.
Did the same on drm *_dp_* files, got similar udelays with only a very slow
msleep (which seems justified there).

But I did not get any udelays with the range of 1ms for "retries". Maybe it
would be a good idea to a similar delay on non-DC displayport code? That would
give more time to "slow" displayort monitors to timeout on their side.

-- 
Sylvain


More information about the amd-gfx mailing list