drm/amdkfd: Drop interrupt SW ring buffer
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 8 Jan 2015 04:27:15 +0000 (13:27 +0900)
committerOded Gabbay <oded.gabbay@amd.com>
Thu, 8 Jan 2015 04:27:15 +0000 (13:27 +0900)
commit6ee0ad2a7f27f7dc365576b748bc98684f02882d
tree11cb4e5dd5f9ae100ddd7df500ec446b4c48d39e
parenteaa27f34e91a14cdceed26ed6c6793ec1d186115
drm/amdkfd: Drop interrupt SW ring buffer

The work queue couldn't reliably prevent the SW ring buffer from
overflowing, so dmesg was spammed by

 kfd kfd: Interrupt ring overflow, dropping interrupt.

messages when running e.g. the Atlantis Substance demo from
https://wiki.unrealengine.com/Linux_Demos on Kaveri.

Since the SW ring buffer doesn't actually do anything at this point, just
remove it for now. When actual interrupt processing code is added to
amdkfd, it should try to do things immediately and only defer to work
queues when necessary.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/Makefile
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c [deleted file]
drivers/gpu/drm/amd/amdkfd/kfd_priv.h