drm/radeon: Initialize compute vmid
authorBen Goz <ben.goz@amd.com>
Fri, 2 Jan 2015 21:43:19 +0000 (23:43 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Fri, 2 Jan 2015 21:43:19 +0000 (23:43 +0200)
commit08dcc57fcd240922347c8a9f14d18e67a3f9f1a9
tree324c02f25a64bc9caa246da8b1a8ae3b0bcf43c9
parentfc83975348ebce07793e6b9f780edc3cbcffa9fc
drm/radeon: Initialize compute vmid

This patch moves to radeon the initialization of compute vmid.

That initializations was done in kfd-->kgd interface, but doing it in radeon
as part of radeon's H/W initialization routines is more appropriate.

In addition, this simplifies the kfd-->kgd interface.

The patch removes the function from the interface file and from the interface
declaration file.

The function initializes memory apertures to fixed base/limit address and non
cached memory types.

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/amd/include/kgd_kfd_interface.h
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/radeon_kfd.c