From: Chris Wilson Date: Tue, 31 Dec 2013 15:50:31 +0000 (+0000) Subject: drm/i915: Avoid dereference past end of page array in gen8_ppgtt_insert_entries() X-Git-Tag: v3.14-rc1~47^2~16^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f1cc993518462ccf039e195fabd47e7aa5bfd13;p=pandora-kernel.git drm/i915: Avoid dereference past end of page array in gen8_ppgtt_insert_entries() The bug from gen6_ppgtt_insert_entries() was replicated into gen8_ppgtt_insert_entries(). This applies the fix for the OOPS from the previous patch to the gen8 routine. Signed-off-by: Chris Wilson Cc: Daniel Vetter Cc: Ben Widawsky Reviewed-by: Ben Widawsky Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed