Commit 6a8987a8 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu: make sure to reserve tmr region on all asics which support it

This includes older APUs like renoir.
Acked-by: default avatarNirmoy Das <nirmoy.das@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 8ef51b42
...@@ -1973,7 +1973,7 @@ int amdgpu_ttm_init(struct amdgpu_device *adev) ...@@ -1973,7 +1973,7 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)
* If IP discovery enabled, a block of memory should be * If IP discovery enabled, a block of memory should be
* reserved for IP discovey. * reserved for IP discovey.
*/ */
if (adev->asic_type >= CHIP_NAVI10 && amdgpu_discovery) { if (adev->discovery_bin) {
r = amdgpu_ttm_reserve_tmr(adev); r = amdgpu_ttm_reserve_tmr(adev);
if (r) if (r)
return r; return r;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment