Commit 7e38ccb
drm/amdkfd: Fix eviction fence handling
Handle case that dma_fence_get_rcu_safe returns NULL.
If restore work is already scheduled, only update its timer. The same
work item cannot be queued twice, so undo the extra queue eviction.
Fixes: 9a1c133 ("drm/amdkfd: Run restore_workers on freezable WQs")
Signed-off-by: Felix Kuehling <felix.kuehling@amd.com>
Reviewed-by: Philip Yang <Philip.Yang@amd.com>
Tested-by: Gang BA <Gang.Ba@amd.com>
Reviewed-by: Gang BA <Gang.Ba@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 6a009ca commit 7e38ccb
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1922 | 1922 | | |
1923 | 1923 | | |
1924 | 1924 | | |
| 1925 | + | |
| 1926 | + | |
1925 | 1927 | | |
1926 | 1928 | | |
1927 | 1929 | | |
| |||
1949 | 1951 | | |
1950 | 1952 | | |
1951 | 1953 | | |
1952 | | - | |
1953 | | - | |
1954 | | - | |
1955 | | - | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
1956 | 1957 | | |
1957 | 1958 | | |
1958 | 1959 | | |
| |||
0 commit comments