]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/amdgpu: simplify ATPX detection"
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Dec 2019 23:57:16 +0000 (18:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sun, 29 Dec 2019 06:53:27 +0000 (01:53 -0500)
commitf1213bb91c8fbe6db54869a0ee2113409b4ccd4e
tree01c440422b17b7af0c296dfdd0f396b77c7b4266
parentbc81fbf00dc4c05b6ef06f0cc2d8377d5d413494
Revert "drm/amdgpu: simplify ATPX detection"

This reverts commit 36da21ace9298457b56a9a61c5663dbac45fbe6f.

You can't use BASE_CLASS in pci_get_class.

Bug: https://gitlab.freedesktop.org/drm/amd/issues/995
Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c