OSDN Git Service

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>
Tue, 7 Jan 2020 16:55:56 +0000 (11:55 -0500)
commitc00ca07f64d39e242e3b86bb55cfb763b2f31ad5
treec83453148fb1dff501ca62a0592e45abb998e199
parent8831fa6e89971828b0f245aed3a2661dd3f225e2
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