diff options
author | Mika Kuoppala <[email protected]> | 2016-11-01 15:27:36 +0200 |
---|---|---|
committer | Mika Kuoppala <[email protected]> | 2016-11-02 11:58:03 +0200 |
commit | 37c6393431bf526d6f465e095c1201c1b890dd51 (patch) | |
tree | 74b381229ea8e2e71745351f8aa118b58088f7a7 /tools/perf/scripts/python/netdev-times.py | |
parent | 0a379e27db5164a7e49a3717b16a59469d944b5d (diff) |
drm/i915/gtt: Fix pte clear range
Comparing pte index to a number of entries is wrong
when clearing a range of pte entries. Use end marker
of 'one past' to correctly point adequate number of
ptes to the scratch page.
v2: assert early instead of warning late (Chris)
v3: removed consts (Joonas)
Fixes: d209b9c3cd28 ("drm/i915/gtt: Split gen8_ppgtt_clear_pte_range")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98282
Cc: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Michel Thierry <[email protected]>
Cc: MichaĆ Winiarski <[email protected]>
Reported-by: Mike Lothian <[email protected]>
Signed-off-by: Mika Kuoppala <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Tested-by: Mike Lothian <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Signed-off-by: Mika Kuoppala <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions