diff options
| author | Maarten Lankhorst <[email protected]> | 2021-03-23 16:49:58 +0100 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2021-03-24 11:50:27 +0100 |
| commit | a85fffe3032d9918c78e3a71821a6133707ae42d (patch) | |
| tree | 530ad68f40d4821bb33ecb398d8e05f926fd7f3c /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | a61170975718d56a8aa8d53c1e11e8b4e70b42f3 (diff) | |
drm/i915: Convert i915_gem_object_attach_phys() to ww locking, v2.
Simple adding of i915_gem_object_lock, we may start to pass ww to
get_pages() in the future, but that won't be the case here;
We override shmem's get_pages() handling by calling
i915_gem_object_get_pages_phys(), no ww is needed.
Changes since v1:
- Call shmem put pages directly, the callback would
go down the phys free path.
Signed-off-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions