]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/apci: don't call sbios request function if it's not supported
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Jul 2018 14:17:02 +0000 (09:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Jul 2018 19:24:35 +0000 (14:24 -0500)
commit33c633d58b79dba271785627c1eb68b3974b791b
tree6f0d3a9f54ac74713dc8abeef62d4a6f57c06915
parent39ea5aa28ef1748108ea9db60c88ed6efd366b8b
drm/amdgpu/apci: don't call sbios request function if it's not supported

Check the supported functions mask before calling the bios
requests method.

Reviewed-by: Jim Qu <Jim.Qu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c