drm/radeon: Add init interrupt kfd->kgd interface
authorOded Gabbay <oded.gabbay@gmail.com>
Thu, 5 Mar 2015 13:13:18 +0000 (15:13 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 19 May 2015 09:13:39 +0000 (12:13 +0300)
commitd36b94fcf0c812b04fff483e1b423f7d5042766e
treea624851c1e418530a30a8f97be9df43f86b6fd7e
parent1241e0b48f9337320a65560192f53406832eff2c
drm/radeon: Add init interrupt kfd->kgd interface

This patch adds a new interface function to the kfd->kgd interface.
The function is kgd_init_interrupts() and its function is to
initialize a pipe's interrupts.

The function currently enables the timestamp interrupt and the
bad opcode interrupt.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/include/kgd_kfd_interface.h
drivers/gpu/drm/radeon/cik_reg.h
drivers/gpu/drm/radeon/cikd.h
drivers/gpu/drm/radeon/radeon_kfd.c