diff options
author | Chris Wilson <[email protected]> | 2016-11-07 10:54:43 +0000 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2016-11-07 18:24:10 +0200 |
commit | c4b8c570447a7bc171829532269878345b3ea9d0 (patch) | |
tree | c0a99356ad3bcf21ba2e9a5f73e8de31926325a3 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 61e0c5438866d0e737937fc35d752538960e1e9f (diff) |
drm/i915: Round tile chunks up for constructing partial VMAs
When we split a large object up into chunks for GTT faulting (because we
can't fit the whole object into the aperture) we have to align our cuts
with the fence registers. Each partial VMA must cover a complete set of
tile rows or the offset into each partial VMA is not aligned with the
whole image. Currently we enforce a minimum size on each partial VMA,
but this minimum size itself was not aligned to the tile row causing
distortion.
Reported-by: Andreas Reis <[email protected]>
Reported-by: Chris Clayton <[email protected]>
Reported-by: Norbert Preining <[email protected]>
Tested-by: Norbert Preining <[email protected]>
Tested-by: Chris Clayton <[email protected]>
Fixes: 03af84fe7f48 ("drm/i915: Choose partial chunksize based on tile row size")
Fixes: a61007a83a46 ("drm/i915: Fix partial GGTT faulting") # enabling patch
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98402
Testcase: igt/gem_mmap_gtt/medium-copy-odd
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: <[email protected]> # v4.9-rc1+
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Joonas Lahtinen <[email protected]>
(cherry picked from commit 0ef723cbceb6dce8116e75d44c5b8679b2eba69a)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions