diff options
author | 2023-07-26 17:09:40 -0400 | |
---|---|---|
committer | 2023-10-05 17:49:51 -0400 | |
commit | 7d3f1d76f33dbeca5ffb2cb424f1e3b7e34c8d45 (patch) | |
tree | ba9df4f6b1d2160f8f89ac85755cf74f70c7eacd /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | drm/amdgpu: add new INFO ioctl query for the last GPU page fault (diff) | |
download | linux-rng-7d3f1d76f33dbeca5ffb2cb424f1e3b7e34c8d45.tar.xz linux-rng-7d3f1d76f33dbeca5ffb2cb424f1e3b7e34c8d45.zip |
drm/amdgpu: refine fault cache updates
Don't update the fault cache if status is 0. In the multiple
fault case, subsequent faults will return a 0 status which is
useless for userspace and replaces the useful fault status, so
only update if status is non-0.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions