diff options
| author | Matthew Auld <[email protected]> | 2024-05-22 11:21:46 +0100 |
|---|---|---|
| committer | Matthew Auld <[email protected]> | 2024-05-22 13:22:39 +0100 |
| commit | 3a1c27cd0122409a9fc425106fff79655ceeaa20 (patch) | |
| tree | 461477ddfec1ec38cceb4b4e3c2e05b9607cd89b /tools/perf/scripts/python/sctop.py | |
| parent | c60f91bbc4bcd91f9c7f3de36c541951b12d165a (diff) | |
drm/xe/ggtt: use drm_dev_enter to mark device section
Device can be hotunplugged before we start destroying gem objects. In
such a case don't touch the GGTT entries, trigger any invalidations or
mess around with rpm. This should already be taken care of when
removing the device, we just need to take care of dealing with the
software state, like removing the mm node.
v2: (Andrzej)
- Avoid some duplication by tracking the bound status and checking
that instead.
References: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1717
Signed-off-by: Matthew Auld <[email protected]>
Cc: Andrzej Hajda <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Reviewed-by: Andrzej Hajda <[email protected]>
Reviewed-by: Jagmeet Randhawa <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions