]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Fix kfd init stack dump
authorPhilip Cox <Philip.Cox@amd.com>
Mon, 21 Sep 2020 10:45:45 +0000 (06:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Sep 2020 16:25:22 +0000 (12:25 -0400)
commit2d34aa32e88655cffe53eeea12e8048cf9a8f7fa
tree796fe5308395783ed38014726d80f4f9189f6cb0
parenta953f9725c2f75ae4426b2b83a592c363161f648
drm/amdkfd: Fix kfd init stack dump

amdkfd is dumping a stack during initialization.
kfd_procfs_add_sysfs_stats is being called twice.  This removes one of
them.

Fixes: 9291f7eddec141 ("drm/amdkfd: Add process eviction counters to sysfs")
Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Philip Cox <Philip.Cox@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_process.c