Commit 56ca8628 authored by Frank.Min's avatar Frank.Min Committed by Alex Deucher

drm/amdgpu: enlarge agp_start address into 48bit

max range of the agp aperture is 48 bits, so
enlarge agp_start address into 48bit with all bits set
Signed-off-by: default avatarFrank.Min <Frank.Min@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 8adf5d21
...@@ -223,7 +223,7 @@ void amdgpu_gmc_agp_location(struct amdgpu_device *adev, struct amdgpu_gmc *mc) ...@@ -223,7 +223,7 @@ void amdgpu_gmc_agp_location(struct amdgpu_device *adev, struct amdgpu_gmc *mc)
u64 size_af, size_bf; u64 size_af, size_bf;
if (amdgpu_sriov_vf(adev)) { if (amdgpu_sriov_vf(adev)) {
mc->agp_start = 0xffffffff; mc->agp_start = 0xffffffffffff;
mc->agp_end = 0x0; mc->agp_end = 0x0;
mc->agp_size = 0; mc->agp_size = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment