aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-09-03 18:01:00 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-09-04 16:36:28 -0400
commit35c7a9526af75040fac744babd0fafe18b8fe0a1 (patch)
tree4a20e79f8185bf6a8b871c69d18d3a1362d817e8
parentbe4f38e28ca2bbd6d06db8064277d71389746e26 (diff)
drm/amdgpu: rename gmc_v8_0_init_compute_vmid
It should be gfx_v8_0_init_compute_vmid since it's part of the gfx block. Acked-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index 0af357a1a170..53f07439a512 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@ -2005,7 +2005,7 @@ static void gfx_v8_0_setup_rb(struct amdgpu_device *adev,
2005} 2005}
2006 2006
2007/** 2007/**
2008 * gmc_v8_0_init_compute_vmid - gart enable 2008 * gfx_v8_0_init_compute_vmid - gart enable
2009 * 2009 *
2010 * @rdev: amdgpu_device pointer 2010 * @rdev: amdgpu_device pointer
2011 * 2011 *
@@ -2015,7 +2015,7 @@ static void gfx_v8_0_setup_rb(struct amdgpu_device *adev,
2015#define DEFAULT_SH_MEM_BASES (0x6000) 2015#define DEFAULT_SH_MEM_BASES (0x6000)
2016#define FIRST_COMPUTE_VMID (8) 2016#define FIRST_COMPUTE_VMID (8)
2017#define LAST_COMPUTE_VMID (16) 2017#define LAST_COMPUTE_VMID (16)
2018static void gmc_v8_0_init_compute_vmid(struct amdgpu_device *adev) 2018static void gfx_v8_0_init_compute_vmid(struct amdgpu_device *adev)
2019{ 2019{
2020 int i; 2020 int i;
2021 uint32_t sh_mem_config; 2021 uint32_t sh_mem_config;
@@ -2282,7 +2282,7 @@ static void gfx_v8_0_gpu_init(struct amdgpu_device *adev)
2282 vi_srbm_select(adev, 0, 0, 0, 0); 2282 vi_srbm_select(adev, 0, 0, 0, 0);
2283 mutex_unlock(&adev->srbm_mutex); 2283 mutex_unlock(&adev->srbm_mutex);
2284 2284
2285 gmc_v8_0_init_compute_vmid(adev); 2285 gfx_v8_0_init_compute_vmid(adev);
2286 2286
2287 mutex_lock(&adev->grbm_idx_mutex); 2287 mutex_lock(&adev->grbm_idx_mutex);
2288 /* 2288 /*