From: Michel Thierry Date: Thu, 25 Jun 2015 11:59:38 +0000 (+0100) Subject: drm/i915/ppgtt: Break loop in gen8_ppgtt_clear_range failure path X-Git-Tag: omap-for-v4.3/legacy-v2-signed~66^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00245266b4be4fbe989ee073663f56716da6c1f3;p=pandora-kernel.git drm/i915/ppgtt: Break loop in gen8_ppgtt_clear_range failure path If for some reason [1], the page directory/table does not exist, clear_range would end up in an infinite while loop. Introduced by commit 06fda602dbca ("drm/i915: Create page table allocators"). [1] This is already being addressed in one of Mika's patches: http://mid.gmane.org/1432314314-23530-17-git-send-email-mika.kuoppala@intel.com Cc: Mika Kuoppala Cc: stable@vger.kernel.org Reported-by: John Harrison Signed-off-by: Michel Thierry Reviewed-by: Mika Kuoppala Signed-off-by: Jani Nikula --- Reading git-diff-tree failed