RE: [PATCH 4/4] drm/amdgpu: try again kiq access if not in IRQ

2018-02-27 Thread Liu, Monk
Drop it, will send V2 patch -Original Message- From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of Monk Liu Sent: 2018年2月28日 15:21 To: amd-gfx@lists.freedesktop.org Cc: Liu, Monk Subject: [PATCH 4/4] drm/amdgpu: try again kiq access if not in IRQ sometimes GPU is

[PATCH 4/4] drm/amdgpu: try again kiq access if not in IRQ

2018-02-27 Thread Monk Liu
sometimes GPU is switched to other VFs and won't swich back soon, so the kiq reg access will not signal within a short period, instead of returning TMO error we in fact should sleep 1ms and try again later (when not in interrupt context). And since there is retry scheme provided so the MAX_KIQ_REG