]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc23541cd61ff57b3b8a41f7610cc6311b0cc093
tree324c02f25a64bc9caa246da8b1a8ae3b0bcf43c9
parent873c4f581d2b134a079672c0bd37888479180b77
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