diff options
author | Michał Winiarski <[email protected]> | 2019-03-26 18:02:18 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-03-26 20:24:44 +0000 |
commit | e163484afa8d6b1775cd35201fe7d523a45e0409 (patch) | |
tree | 14ad80b57d6095a39b2e2e1043acd31ad0acb2c1 /scripts/gdb/linux/modules.py | |
parent | baba6e572b38ecd399048cb5b03db88e67069902 (diff) |
drm/i915: Update size upon return from GEM_CREATE
Since GEM_CREATE is trying to outsmart the user by rounding up unaligned
objects, we used to update the size returned to userspace.
This update seems to have been lost throughout the history.
v2: Use round_up(), reorder locals (Chris)
References: ff72145badb8 ("drm: dumb scanout create/mmap for intel/radeon (v3)")
Signed-off-by: Michał Winiarski <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Janusz Krzysztofik <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions