]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita714d9fa2f57399ed639c3c9588a2fd671791881
treecbd60642cef23a63992a2d4508bcbe253cf4a750
parente8497df222e72aec902f7f84244dd7e192bafd48
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