]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: change the alignment size of TMR BO to 1M
authorYang Wang <KevinYang.Wang@amd.com>
Fri, 9 Sep 2022 03:06:50 +0000 (11:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 16:56:16 +0000 (12:56 -0400)
commit751a9b8c37ed87be24c4bda7246ed04cede6d630
tree88c4ee7019cc15b86adaa54063d806c6265959c9
parent5135de9042338361263054a05531d6633d24dd3f
drm/amdgpu: change the alignment size of TMR BO to 1M

align TMR BO size TO tmr size is not necessary,
modify the size to 1M to avoid re-create BO fail
when serious VRAM fragmentation.

v2:
add new macro PSP_TMR_ALIGNMENT for TMR BO alignment size

Signed-off-by: Yang Wang <KevinYang.Wang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h