From: Oscar Mateo Date: Thu, 24 Jul 2014 16:04:42 +0000 (+0100) Subject: drm/i915/bdw: Make sure gpu reset still works with Execlists X-Git-Tag: omap-for-v3.19/prcm-cleanup~70^2~73^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc9130be805d955f0e06642e57741dd9df1fbc86;p=pandora-kernel.git drm/i915/bdw: Make sure gpu reset still works with Execlists If we reset a ring after a hang, we have to make sure that we clear out all queued Execlists requests. v2: The ring is, at this point, already being correctly re-programmed for Execlists, and the hangcheck counters cleared. v3: Daniel suggests to drop the "if (execlists)" because the Execlists queue should be empty in legacy mode (which is true, if we do the INIT_LIST_HEAD). v4: Do the pending intel_runtime_pm_put Signed-off-by: Oscar Mateo Reviewed-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed