drm/amdkfd: Print a warning when the runlist becomes oversubscribed
authorFelix Kuehling <Felix.Kuehling@amd.com>
Thu, 20 Jun 2019 19:37:37 +0000 (15:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jul 2019 19:31:26 +0000 (14:31 -0500)
commit819ec5acf7593bfb84063d1b3890e80b30e1c6fa
treecea23a9f0647388b091b980ccfa92bc4343a4020
parentba9e93c5faed906f1d11240e9e9024388f13e84a
drm/amdkfd: Print a warning when the runlist becomes oversubscribed

Oversubscription of queues or processes results in poor performance
mostly because HWS blinbly schedules busy and idle queues, resulting
in poor occupancy if many queues are idle.

Let users know with a warning message when transitioning from a
non-oversubscribed to an oversubscribed runlist.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oak Zeng <Oak.Zeng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h