Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu:PTE flag should be 64 bit width

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>

authored by

Monk Liu and committed by
Alex Deucher
1d1a2cd5 0dca7047

+1 -1
+1 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
··· 765 765 { 766 766 struct amdgpu_ttm_tt *gtt, *tmp; 767 767 struct ttm_mem_reg bo_mem; 768 - uint32_t flags; 768 + uint64_t flags; 769 769 int r; 770 770 771 771 bo_mem.mem_type = TTM_PL_TT;