drm/amdgpu: make sure to reserve tmr region on all asics which support it
This includes older APUs like renoir. Acked-by: Nirmoy Das <nirmoy.das@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
8ef51b428e
commit
6a8987a866
@ -1973,7 +1973,7 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)
|
||||
* If IP discovery enabled, a block of memory should be
|
||||
* reserved for IP discovey.
|
||||
*/
|
||||
if (adev->asic_type >= CHIP_NAVI10 && amdgpu_discovery) {
|
||||
if (adev->discovery_bin) {
|
||||
r = amdgpu_ttm_reserve_tmr(adev);
|
||||
if (r)
|
||||
return r;
|
||||
|
Loading…
Reference in New Issue
Block a user