drm/amdgpu: properly guard the generic discovery code
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2019 18:44:59 +0000 (13:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Jul 2019 22:43:31 +0000 (17:43 -0500)
commitf54eeab4e7e066c6fd2f409f599f043c4ef98a6e
treecbd60642cef23a63992a2d4508bcbe253cf4a750
parent405627871480a086fd81af189d48ae47d0639fe7
drm/amdgpu: properly guard the generic discovery code

It's only available on navi and newer.

Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c