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)
commit5d30ed3c2c74eb123668d0746e23105c8fc8aed3
tree01c440422b17b7af0c296dfdd0f396b77c7b4266
parente31d941c7dd797df37ea94958638a88723325c30
Revert "drm/amdgpu: simplify ATPX detection"

This reverts commit f5fda6d89afe6e9cedaa1c3303903c905262f6e8.

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