diff options
| author | Nirmoy Das <[email protected]> | 2024-03-18 17:43:41 +0100 |
|---|---|---|
| committer | Matthew Auld <[email protected]> | 2024-03-19 08:33:42 +0000 |
| commit | 4f4fcafde343a54465f85a2909fc684918507a4b (patch) | |
| tree | 338671a77e62f93fbffa048ee6166de5c4b0c9c3 /tools/perf/scripts/python | |
| parent | 1d3c830574dcb2d6b37c82d70cd3027102c0c603 (diff) | |
drm/xe: Fix potential integer overflow in page size calculation
Explicitly cast tbo->page_alignment to u64 before bit-shifting to
prevent overflow when assigning to min_page_size.
Cc: Matthew Auld <[email protected]>
Cc: Matthew Brost <[email protected]>
Signed-off-by: Nirmoy Das <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Signed-off-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions