]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: remove memory training p2c buffer reservation(V2)
authorTianci.Yin <tianci.yin@amd.com>
Tue, 17 Dec 2019 06:34:45 +0000 (14:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Dec 2019 19:59:28 +0000 (14:59 -0500)
commitb8bc1e9d34eb322382b9ab969f0d769fbbabe3c2
treed029175fc4a8ed48e574130948b17f36005428fa
parenta592790bda01baf34a34cb654cb1746cd93b8c1f
drm/amdgpu: remove memory training p2c buffer reservation(V2)

IP discovery TMR(occupied the top VRAM with size DISCOVERY_TMR_SIZE)
has been reserved, and the p2c buffer is in the range of this TMR, so
the p2c buffer reservation is unnecessary.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Signed-off-by: Tianci.Yin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c