OSDN Git Service

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)
commit33a9a5ab1edd82d2393b0640bd284e2c02eb2301
treed029175fc4a8ed48e574130948b17f36005428fa
parent8d40002fee9eae7e3cedd286149d323afc4b3442
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