Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/ras: enable uniras via IP version check

enable uniras via IP version check

Signed-off-by: Ce Sun <cesun102@amd.com>
Reviewed-by: YiPeng Chai <YiPeng.Chai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Ce Sun and committed by
Alex Deucher
8d45d88e 2444eb0e

+3 -6
+3 -6
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c
··· 290 290 /* Disabled by default */ 291 291 con->uniras_enabled = false; 292 292 293 - /* Enabled only in debug mode */ 294 - if (adev->debug_enable_ras_aca) { 293 + if (amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 14) || 294 + adev->debug_enable_ras_aca) 295 295 con->uniras_enabled = true; 296 - RAS_DEV_INFO(adev, "Debug amdgpu uniras!"); 297 - } 298 - 299 - if (!con->uniras_enabled) 296 + else 300 297 return 0; 301 298 302 299 ras_mgr = kzalloc_obj(*ras_mgr);