drm/amdkfd: Add some eveiction debugging code
authorPhilip Cox <Philip.Cox@amd.com>
Mon, 29 Jun 2020 13:49:59 +0000 (09:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Sep 2020 01:22:16 +0000 (21:22 -0400)
commit8a491bb31ba40246ae15cbb3c044d72fb9e0d13e
tree5d3f45c49c813ee2bf630b361b7fbd1ef87f5762
parent35d1a405cada8b61dd866e7815a226486b8d55b2
drm/amdkfd: Add some eveiction debugging code

Extending the module parameter debug_evictions to also print a stack
trace when the eviction code path is called.

Signed-off-by: Philip Cox <Philip.Cox@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_process.c