diff options
author | Oak Zeng <Oak.Zeng@amd.com> | 2019-03-07 17:00:20 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-03-19 15:36:50 -0500 |
commit | 83afe835eba5f43193efe0c97e8c7cad2415fee5 (patch) | |
tree | aa119b2e85fb453d4891370fb0d17c25db2f8500 /drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | |
parent | e0634e8d6b90b4be1287dde7e0688c70d4fef0a5 (diff) | |
download | blackbird-op-linux-83afe835eba5f43193efe0c97e8c7cad2415fee5.tar.gz blackbird-op-linux-83afe835eba5f43193efe0c97e8c7cad2415fee5.zip |
drm/amdgpu: Cosmetic change for calling func amdgpu_gmc_vram_location
Use function parameter mc as the second parameter of amdgpu_gmc_vram_location,
so codes look more consistent.
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Christian Konig <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c index 8a812e11a50b..2edb7fc84398 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c @@ -225,7 +225,7 @@ static void gmc_v6_0_vram_gtt_location(struct amdgpu_device *adev, u64 base = RREG32(mmMC_VM_FB_LOCATION) & 0xFFFF; base <<= 24; - amdgpu_gmc_vram_location(adev, &adev->gmc, base); + amdgpu_gmc_vram_location(adev, mc, base); amdgpu_gmc_gart_location(adev, mc); } |