We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb1e917 commit 73cb81dCopy full SHA for 73cb81d
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -2919,6 +2919,11 @@ int amdgpu_ras_init(struct amdgpu_device *adev)
2919
2920
amdgpu_ras_query_poison_mode(adev);
2921
2922
+ /* Packed socket_id to ras feature mask bits[31:29] */
2923
+ if (adev->smuio.funcs &&
2924
+ adev->smuio.funcs->get_socket_id)
2925
+ con->features |= ((adev->smuio.funcs->get_socket_id(adev)) << 29);
2926
+
2927
/* Get RAS schema for particular SOC */
2928
con->schema = amdgpu_get_ras_schema(adev);
2929
0 commit comments