aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2018-10-23 19:02:01 +0300
committerVille Syrjälä <[email protected]>2018-11-29 22:00:49 +0200
commit70bbe53c6eacdf01485848b7568609e33372cad0 (patch)
tree823443e8209e54948685dbe97cbe863723b71433 /scripts/bpf_helpers_doc.py
parent1fdee7582cce4c9d56b24e6caf1a87cd47a11825 (diff)
drm/i915: Make sure fb gtt offsets stay within 32bits
Let's try to make sure the fb offset computations never hit an integer overflow by making sure the entire fb stays below 32bits. framebuffer_check() in the core already does the same check, but as it doesn't know about tiling some things can slip through. Repeat the check in the driver with tiling taken into account. v2: Use add_overflows() after massaging it to work for me (Chris) v3: Call it add_overflow_t() to match min_t() & co. (Chris) Cc: Chris Wilson <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions