drm/i915/guc: Wait for ucode DMA transfer completion
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 3 Nov 2017 15:18:13 +0000 (15:18 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Nov 2017 21:34:13 +0000 (21:34 +0000)
commita86af2314a867804bb1531d514aa25c264fe5cb9
treee051209ef4910493a35f2cd8826b180a9313a875
parent2ceddb189306443a8d0d300de5b2bdf496749548
drm/i915/guc: Wait for ucode DMA transfer completion

We silently assumed that DMA transfer will be completed
within assumed timeout and thus we were waiting only at
last step for GuC to become ready. Add intermediate wait
to catch unexpected delays in DMA transfer.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171103151816.62048-2-michal.wajdeczko@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_guc_fw.c