aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2017-08-15 10:34:55 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-08-15 14:46:23 -0400
commit37899a5254917e17418bbb23086d55e38faaa659 (patch)
tree8cca3b18d91f3e9e4b368713a32b76420b53174e
parent43bb3a6d7d14e761baa34627c90c2be40320619b (diff)
drm/amdgpu/gfx7: fix function name
Was using the wrong prefix (gmc rather than gfx). The function is related to the gfx hw, not gmc. This also makes it consistent with the naming in gfx8. Reviewed-by: Harry Wentland <harry.wentland@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_v7_0.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
index bf0ceb0271e8..53a4af7596c1 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
@@ -1823,7 +1823,7 @@ static void gfx_v7_0_setup_rb(struct amdgpu_device *adev)
1823} 1823}
1824 1824
1825/** 1825/**
1826 * gmc_v7_0_init_compute_vmid - gart enable 1826 * gfx_v7_0_init_compute_vmid - gart enable
1827 * 1827 *
1828 * @adev: amdgpu_device pointer 1828 * @adev: amdgpu_device pointer
1829 * 1829 *
@@ -1833,7 +1833,7 @@ static void gfx_v7_0_setup_rb(struct amdgpu_device *adev)
1833#define DEFAULT_SH_MEM_BASES (0x6000) 1833#define DEFAULT_SH_MEM_BASES (0x6000)
1834#define FIRST_COMPUTE_VMID (8) 1834#define FIRST_COMPUTE_VMID (8)
1835#define LAST_COMPUTE_VMID (16) 1835#define LAST_COMPUTE_VMID (16)
1836static void gmc_v7_0_init_compute_vmid(struct amdgpu_device *adev) 1836static void gfx_v7_0_init_compute_vmid(struct amdgpu_device *adev)
1837{ 1837{
1838 int i; 1838 int i;
1839 uint32_t sh_mem_config; 1839 uint32_t sh_mem_config;
@@ -1939,7 +1939,7 @@ static void gfx_v7_0_gpu_init(struct amdgpu_device *adev)
1939 cik_srbm_select(adev, 0, 0, 0, 0); 1939 cik_srbm_select(adev, 0, 0, 0, 0);
1940 mutex_unlock(&adev->srbm_mutex); 1940 mutex_unlock(&adev->srbm_mutex);
1941 1941
1942 gmc_v7_0_init_compute_vmid(adev); 1942 gfx_v7_0_init_compute_vmid(adev);
1943 1943
1944 WREG32(mmSX_DEBUG_1, 0x20); 1944 WREG32(mmSX_DEBUG_1, 0x20);
1945 1945