summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
diff options
context:
space:
mode:
authorAlex Xie <AlexBin.Xie@amd.com>2017-02-14 18:31:36 +0100
committerAlex Deucher <alexander.deucher@amd.com>2017-03-30 05:53:39 +0200
commit4b98e0c4aeb9e246fd877640d45dfbdcdf6283a9 (patch)
tree930e023905878ce932e179dc5f42e9fe303c7c7c /drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
parentdrm/amdgpu: add a ucode size member into firmware info (diff)
downloadlinux-4b98e0c4aeb9e246fd877640d45dfbdcdf6283a9.tar.xz
linux-4b98e0c4aeb9e246fd877640d45dfbdcdf6283a9.zip
drm/amdgpu: set GART PTE asic specific flags
Set asic specific gart pte flags in the gmc IP module for each asic. Signed-off-by: Alex Xie <AlexBin.Xie@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
index e95af8ae0ac8..9f41d9fa5ed5 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
@@ -658,6 +658,7 @@ static int gmc_v7_0_gart_init(struct amdgpu_device *adev)
if (r)
return r;
adev->gart.table_size = adev->gart.num_gpu_pages * 8;
+ adev->gart.gart_pte_flags = 0;
return amdgpu_gart_table_vram_alloc(adev);
}