diff options
author | Philip Yang <Philip.Yang@amd.com> | 2022-04-05 22:24:42 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-04-11 13:50:35 -0400 |
commit | edd11922e3d01549fc6f5a1fa1413eb2f7d5be55 (patch) | |
tree | f9385a58001351426ea7c6c56c9d23c5278e39a1 /fs/attr.c | |
parent | 73bce7a423c3bb7c3441177aca868ff5f2cf93fa (diff) | |
download | linux-edd11922e3d01549fc6f5a1fa1413eb2f7d5be55.tar.bz2 |
drm/amdkfd: Handle drain retry fault race with XNACK mode change
Application could change XNACK enabled to disabled while KFD is draining
stale retry fault, therefore the check for whether to drain retry faults
must be before the check for whether xnack_enabled, to avoid report
incorrect vm fault after application changes XNACK mode.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions