drm/amdgpu: skip reservation of discovery tmr region in pre-Navi
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 16 Jan 2020 17:10:52 +0000 (01:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 May 2020 19:19:07 +0000 (15:19 -0400)
commit942a0dd2d6d5b1586784e1ff2c056382ee05a9fa
tree48d24ad77f1dfbde63c5c94cd00df7d81deaf06f
parente0c116c1906618823e6fa823a8a727bcea04ac18
drm/amdgpu: skip reservation of discovery tmr region in pre-Navi

IP discovery is only supported in Navi series and onwards.
There is no need to reserve a portion of vram as discovery
tmr region for pre-Navi adapters.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c