summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2024-01-19 03:16:10 +0300
committerLucas De Marchi <lucas.demarchi@intel.com>2024-01-20 00:08:53 +0300
commit406663f777bee53e9ad93dc080c333d4655ab7de (patch)
tree237af65c78a4fcda3cf9ea1e301ac405d14cea2b /tools/perf/scripts/python/export-to-postgresql.py
parent6d8d038364d8ec573e9dc0872e17bee1e5f12490 (diff)
downloadlinux-406663f777bee53e9ad93dc080c333d4655ab7de.tar.xz
drm/xe/display: Avoid calling readq()
readq() is not available in 32bits and i915_gem_object_read_from_page() is supposed to allow reading arbitrary sizes determined by the `size` argument. Currently the only caller only passes a size == 8 so the second problem is not that big. Migrate to calling memcpy()/memcpy_fromio() to allow possible changes in the display side and to fix the build on 32b architectures. v2: Use memcpy/memcpy_fromio directly rather than using iosys-map with the same size == 8 bytes restriction (Matt Roper) Fixes: 44e694958b95 ("drm/xe/display: Implement display support") Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240119001612.2991381-4-lucas.demarchi@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions