projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8adf5d2
)
drm/amdgpu: enlarge agp_start address into 48bit
author
Frank.Min
<Frank.Min@amd.com>
Wed, 18 Dec 2019 10:37:11 +0000
(18:37 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 23 Dec 2019 19:56:21 +0000
(14:56 -0500)
max range of the agp aperture is 48 bits, so
enlarge agp_start address into 48bit with all bits set
Signed-off-by: Frank.Min <Frank.Min@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
index
a12f33c
..
bbcd11a
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
@@
-223,7
+223,7
@@
void amdgpu_gmc_agp_location(struct amdgpu_device *adev, struct amdgpu_gmc *mc)
u64 size_af, size_bf;
if (amdgpu_sriov_vf(adev)) {
- mc->agp_start = 0xffffffff;
+ mc->agp_start = 0xffffffff
ffff
;
mc->agp_end = 0x0;
mc->agp_size = 0;