diff options
| author | José Roberto de Souza <[email protected]> | 2024-01-24 09:18:30 -0800 |
|---|---|---|
| committer | José Roberto de Souza <[email protected]> | 2024-01-25 05:31:54 -0800 |
| commit | c6878e47431c72168da08dfbc1496c09b2d3c246 (patch) | |
| tree | e03ffad46c440598e2970c34a13517a59a8293ab /tools/perf/scripts/python/sctop.py | |
| parent | 439987f6f471c2d8c99e77d3aa75cda597796b9d (diff) | |
drm/xe: Fix crash in trace_dma_fence_init()
trace_dma_fence_init() uses dma_fence_ops functions
like get_driver_name() and get_timeline_name() to generate trace
information but the Xe KMD implementation of those functions makes
use of xe_hw_fence_ctx that was being set after dma_fence_init().
So here just inverting the order to fix the crash.
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: José Roberto de Souza <[email protected]>
Reviewed-by: Matthew Brost <[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