]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: rework runtime pm enablement for BACO
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Apr 2020 14:05:43 +0000 (10:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:27 +0000 (01:59 -0400)
commita77c6438377d69a871d5f5501cce8da209d5be12
tree9959787d1d11b703aefb60f9db34732f50fed300
parent25f2249079d4d20a6ce376d6fb83f11d92e7af42
drm/amdgpu: rework runtime pm enablement for BACO

Add a switch statement to simplify asic checks.  Note
that BACO is not supported on APUs, so there is no
need to check them.

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c