aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2022-07-12 18:40:50 +0100
committerMatthew Auld <[email protected]>2022-07-13 16:06:08 +0100
commit9306b2b2dfce6931241ef804783692cee526599c (patch)
treee3ff42e12e8571c4c96c3e01c6713a97ece5bc95 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentab3edc679c552a466e4bf0b11af3666008bd65a2 (diff)
drm/i915/ttm: fix 32b build
Since segment_pages is no longer a compile time constant, it looks the DIV_ROUND_UP(node->size, segment_pages) breaks the 32b build. Simplest is just to use the ULL variant, but really we should need not need more than u32 for the page alignment (also we are limited by that due to the sg->length type), so also make it all u32. Reported-by: Ville Syrjälä <[email protected]> Fixes: bc99f1209f19 ("drm/i915/ttm: fix sg_table construction") Signed-off-by: Matthew Auld <[email protected]> Cc: Nirmoy Das <[email protected]> Reviewed-by: Nirmoy Das <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions