diff options
author | Matthew Brost <[email protected]> | 2024-08-15 12:35:22 -0700 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2024-08-21 11:53:12 -0400 |
commit | dd3e840a33b57b92812fbec26273b3f0b4eb5ae3 (patch) | |
tree | 51732d6e2aeb37546baeac760024c445b30ac137 /scripts/generate_rust_analyzer.py | |
parent | a6f78359ac75f24cac3c1bdd753c49c1877bcd82 (diff) |
drm/xe: Drop HW fence pointer to HW fence ctx
The HW fence ctx objects are not ref counted rather tied to the life of
an LRC object. HW fences reference the HW fence ctx, HW fences can
outlive LRCs thus resulting in UAF. Drop the HW fence pointer to HW
fence ctx rather just store what is needed directly in HW fence.
v2:
- Fix typo in commit (Ashutosh)
- Use snprintf (Ashutosh)
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Ashutosh Dixit <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 60db6f540af9f93144d5039140aa2ed17171d168)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions