aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichał Winiarski <[email protected]>2017-02-07 20:55:59 +0100
committerChris Wilson <[email protected]>2017-02-08 09:22:31 +0000
commit038c95a313e4ca954ee5ab8a0c7559a646b0f462 (patch)
tree4605140e40ff5a2d83f1fbba06760bffd26db602 /tools/perf/scripts/python/export-to-postgresql.py
parentc0dcb203fb009678e5be9e7782329dcfbbf16439 (diff)
drm/i915: Always convert incoming exec offsets to non-canonical
We're using non-canonical addresses in drm_mm, and we're making sure that userspace is using canonical addressing - both in case of softpin (verifying incoming offset) and when relocating (converting to canonical when updating offset returned to userspace). Unfortunately when considering the need for relocations, we're comparing offset from userspace (in canonical form) with drm_mm node (in non-canonical form), and as a result, we end up always relocating if our offsets are in the "problematic" range. Let's always convert the offsets to avoid the performance impact of relocations. Fixes: a5f0edf63bdf ("drm/i915: Avoid writing relocs with addresses in non-canonical form") Cc: Chris Wilson <[email protected]> Cc: Michel Thierry <[email protected]> Reported-by: Michał Pyrzowski <[email protected]> Signed-off-by: Michał Winiarski <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions