diff options
author | Michel Thierry <michel.thierry@intel.com> | 2015-06-25 12:59:38 +0100 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2015-06-26 12:40:35 +0300 |
commit | 00245266b4be4fbe989ee073663f56716da6c1f3 (patch) | |
tree | 2a24caaae35ffc13a67d240b00d4007b37c8190b /drivers/char/agp/intel-gtt.c | |
parent | ac88cd738425e04dbed3706621cf613a00708834 (diff) | |
download | linux-stable-00245266b4be4fbe989ee073663f56716da6c1f3.tar.gz linux-stable-00245266b4be4fbe989ee073663f56716da6c1f3.tar.bz2 linux-stable-00245266b4be4fbe989ee073663f56716da6c1f3.zip |
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 <mika.kuoppala@linux.intel.com>
Cc: stable@vger.kernel.org
Reported-by: John Harrison <john.c.harrison@intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/char/agp/intel-gtt.c')
0 files changed, 0 insertions, 0 deletions