]> 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)
commit6be0a953fb4856652edacdca79614597f9826ded
treecbd60642cef23a63992a2d4508bcbe253cf4a750
parent6402535cb17db469f565b9a61128c6e9c16ff3a2
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