diff options
author | Matthew Brost <[email protected]> | 2024-07-19 10:29:04 -0700 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2024-08-15 09:44:22 -0400 |
commit | f002702290fccbd473f5bb94e52f25c96917fff2 (patch) | |
tree | 0a06f61b305f6095ba930f58f049b555895e2a59 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | 58bfe6674467f4c037e89111e6007f25b34d8bb3 (diff) |
drm/xe: Hold a PM ref when GT TLB invalidations are inflight
Avoid GT TLB invalidation timeouts by holding a PM ref when
invalidations are inflight.
v2:
- Drop PM ref before signaling fence (CI)
v3:
- Move invalidation_fence_signal helper in tlb timeout to previous
patch (Matthew Auld)
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Cc: Rodrigo Vivi <[email protected]>
Cc: Nirmoy Das <[email protected]>
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Nirmoy Das <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 0a382f9bc5dc4744a33970a5ed4df8f9c702ee9e)
Requires: 46209ce5287b ("drm/xe: Add xe_gt_tlb_invalidation_fence_init
helper")
Requires: 0e414ab036e0 ("drm/xe: Drop xe_gt_tlb_invalidation_wait")
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions