Skip to content
Commit 09867977 authored by Luben Tuikov's avatar Luben Tuikov Committed by Greg Kroah-Hartman
Browse files

drm/amdgpu: Fix check for RAS support



[ Upstream commit 084e2640 ]

Use positive logic to check for RAS
support. Rename the function to actually indicate
what it is testing for. Essentially, make the
function a predicate with the correct name.

Cc: Stanley Yang <Stanley.Yang@amd.com>
Cc: Alexander Deucher <Alexander.Deucher@amd.com>
Signed-off-by: default avatarLuben Tuikov <luben.tuikov@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Stable-dep-of: 6c204906 ("drm/amdgpu: Don't enable LTR if not supported")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8c6fd05c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment