drm/amdgpu: Improve MES responsiveness during oversubscription
authorJay Cornwall <jay.cornwall@amd.com>
Wed, 4 Oct 2023 15:53:26 +0000 (10:53 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Oct 2023 14:57:46 +0000 (10:57 -0400)
commit757920585d58fd83480866bdfc9c145cb083644b
tree9fa753fc12e96aa443ad5bb418348e3ca10b6810
parent219223eca4d8b39486107c62a52c9667016aa3b9
drm/amdgpu: Improve MES responsiveness during oversubscription

When MES is oversubscribed it may not frequently check for new
command submissions from driver if the scheduling load is high.
Response latency as high as 5 seconds has been observed.

Enable a flag which adds a check for new commands between
scheduling quantums.

Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Cc: Alexandru Tudor <alexandru.tudor@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c