diff options
| author | Matthew Auld <[email protected]> | 2022-03-04 09:59:33 +0000 |
|---|---|---|
| committer | Matthew Auld <[email protected]> | 2022-03-07 09:23:18 +0000 |
| commit | 892bfb8a604d464925edca9a5c3d2b2062c2124d (patch) | |
| tree | 14f1a55871231910aa48e2a668d43d95842acdfc /tools/perf/scripts/python/stackcollapse.py | |
| parent | eb950819218af113b57cd5cd3441af4077a9baaf (diff) | |
drm/i915/fbdev: fixup setting screen_size
Since we are actually mapping the object and not the vma, when dealing
with LMEM, we should be careful and use the backing store size here,
since the vma->node.size could have all kinds of funny padding
constraints, which could result in us writing to OOB address.
v2(Chris):
- Prefer vma->size here, which should be the backing store size. Some
more rework is needed here to stop using node.size in some other
places.
Signed-off-by: Matthew Auld <[email protected]>
Cc: Stanislav Lisovskiy <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions