diff options
author | Yifan Zha <Yifan.Zha@amd.com> | 2024-06-27 15:06:23 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-08 16:46:56 -0400 |
commit | 33f23fc3155b13c4a96d94a0a22dc26db767440b (patch) | |
tree | 3c2fc11fa4203897e48153fe3906e5b0b2eeaa36 /drivers/gpu/drm/amd/amdgpu/ih_v7_0.c | |
parent | 2262acad0ae911cd45b6cb976f803a74db9e9ea7 (diff) |
drm/amdgpu: Set no_hw_access when VF request full GPU fails
[Why]
If VF request full GPU access and the request failed,
the VF driver can get stuck accessing registers for an extended period during
the unload of KMS.
[How]
Set no_hw_access flag when VF request for full GPU access fails
This prevents further hardware access attempts, avoiding the prolonged
stuck state.
Signed-off-by: Yifan Zha <Yifan.Zha@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/ih_v7_0.c')
0 files changed, 0 insertions, 0 deletions