drm/radeon: Implement SDMA interface functions
authorBen Goz <ben.goz@amd.com>
Sat, 3 Jan 2015 20:12:30 +0000 (22:12 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Fri, 9 Jan 2015 20:26:04 +0000 (22:26 +0200)
commita84a9903b5885ce1f0b258f8a6568f17d746ab44
treed8b5417b3f7c2801088e2cb5980dd64f62e49fa6
parent85ea7d07e1ec62480c19bce6019a2816e153c74a
drm/radeon: Implement SDMA interface functions

This patch implements the new SDMA interface functions. It also adds defines
and structures related to SDMA registers.

v2: Removed init_sdma_engines() from interface. Initialization is done in
radeon.

v3:
- Removed unused defines.
- Added SDMA_ prefix to defines that didn't have them.

Signed-off-by: Ben Goz <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/cik_reg.h
drivers/gpu/drm/radeon/radeon_kfd.c