Skip to content

Commit 6a8987a

Browse files
committed
drm/amdgpu: make sure to reserve tmr region on all asics which support it
This includes older APUs like renoir. Acked-by: Nirmoy Das <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 8ef51b4 commit 6a8987a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1973,7 +1973,7 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)
19731973
* If IP discovery enabled, a block of memory should be
19741974
* reserved for IP discovey.
19751975
*/
1976-
if (adev->asic_type >= CHIP_NAVI10 && amdgpu_discovery) {
1976+
if (adev->discovery_bin) {
19771977
r = amdgpu_ttm_reserve_tmr(adev);
19781978
if (r)
19791979
return r;

0 commit comments

Comments
 (0)