diff options
| author | Chris Wilson <[email protected]> | 2017-01-30 13:47:21 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-01-31 11:19:23 +0000 |
| commit | 1692cd60d999b00a0491692dab0286e6011abd36 (patch) | |
| tree | 6ca4aad3e28794cb99b9bdc28dfa993054b6c5f1 /tools/perf/scripts/python | |
| parent | c88473878d47131ccfc67a00ba688d4d7d0f4519 (diff) | |
drm/i915: Sanity check the computed size and base of stolen memory
Just do a quick check that the stolen memory address range doesn't
overflow our chosen integer type.
v2: Add add_overflows() to utils with the promise that gcc7 can do this
better than C and then maybe it will have a proper definition in core.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions