projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dca704
)
drm/amdgpu:PTE flag should be 64 bit width
author
Monk Liu
<Monk.Liu@amd.com>
Thu, 27 Apr 2017 09:14:57 +0000
(17:14 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 5 May 2017 22:12:28 +0000
(18:12 -0400)
otherwise we'll lost the high 32 bit for pte, which lead
to incorrect MTYPE for vega10.
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
index 7bb1bf76319a513e6bc5555f50e97cd3daa0d94c..5db0230e45c6db9c2604547346aa715afcb8cdd0 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
@@
-765,7
+765,7
@@
int amdgpu_ttm_recover_gart(struct amdgpu_device *adev)
{
struct amdgpu_ttm_tt *gtt, *tmp;
struct ttm_mem_reg bo_mem;
- uint
32
_t flags;
+ uint
64
_t flags;
int r;
bo_mem.mem_type = TTM_PL_TT;