aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJosé Roberto de Souza <[email protected]>2022-02-23 11:49:46 -0800
committerJosé Roberto de Souza <[email protected]>2022-02-25 05:24:16 -0800
commitb8986c889e7ac26c57cb548f8f344456fa925a2f (patch)
tree4cb9220ed8e647b1b26cbc13f8201904ded5e84a /tools/perf/scripts/python/event_analyzing_sample.py
parentbbd57d16d5ddeb9d8995a6ded81a6879be6af928 (diff)
drm/i915: Check stolen memory size before calling drm_mm_init
Add check for zero usable stolen memory before calling drm_mm_init to support configurations where stolen memory exists but is fully reserved. Also skip memory test in cases that usable stolen is smaller than page size(amount mapped and used to test memory). v2: - skiping test if available memory is smaller than page size (Lucas) Cc: Ville Syrjälä <[email protected]> Cc: Daniele Ceraolo Spurio <[email protected]> Cc: Lucas De Marchi <[email protected]> Signed-off-by: José Roberto de Souza <[email protected]> Signed-off-by: Steve Carbonari <[email protected]> Reviewed-by: Lucas De Marchi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions