Re: [PATCH] drm/i915: Avoid overflow in computing pot_hole loop termination

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14 February 2017 at 09:23, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> When using the mock_ppgtt selftest, the GTT is large enough to cause an
> overflow in pot_hole() when adding 2 pages to the address. Avoid the
> overflow by computing the final valid address and iterating up to that
> address.
>
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> Cc: Matthew Auld <matthew.auld@xxxxxxxxx>
Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux