]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: Fix check for RAS support
authorLuben Tuikov <luben.tuikov@amd.com>
Fri, 12 Mar 2021 00:11:01 +0000 (19:11 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:43:18 +0000 (16:43 -0400)
commit084e2640e51626f413f85663e3ba7e32d4272477
tree586802f886def702cd462486ae01e6eae82725e8
parent4711c033f6d88e89c3423d6df7b2a7e33005fed6
drm/amdgpu: Fix check for RAS support

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: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c