diff options
author | Tong Liu01 <Tong.Liu01@amd.com> | 2023-10-27 11:26:46 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-10-31 16:40:16 -0400 |
commit | 853eebe6ec4f6a277b8c8fb34da268aca6cf720b (patch) | |
tree | 70a078866b73769dc4fdd0e5be6f6ec1a37e2e2a /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | |
parent | 5f38ac54e60562323ea4abb1bfb37d043ee23357 (diff) | |
download | linux-853eebe6ec4f6a277b8c8fb34da268aca6cf720b.tar.gz linux-853eebe6ec4f6a277b8c8fb34da268aca6cf720b.tar.bz2 linux-853eebe6ec4f6a277b8c8fb34da268aca6cf720b.zip |
drm/amdgpu: add unmap latency when gfx11 set kiq resources
[why]
If driver does not set unmap latency for KIQ, the default value of KIQ
unmap latency is zero. When do unmap queue, KIQ will return that almost
immediately after receiving unmap command. So, the queue status will be
saved to MQD incorrectly or lost in some chance.
[how]
Set unmap latency when do kiq set resources. The unmap latency is set to
be 1 second that is synchronized with Windows driver.
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Tong Liu01 <Tong.Liu01@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c')
0 files changed, 0 insertions, 0 deletions