drm/amdkfd: fix the build when CIK support is disabled
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Oct 2019 14:14:35 +0000 (09:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Oct 2019 20:11:32 +0000 (15:11 -0500)
commita3e520a25ce85f84a7f589af2b6ec38af96caa12
tree892d3cb88b0e97f5e31fd3d210859b4d52aa4733
parent23c61b4599c46cddd7c36e1e3f7a9a340cf98ce8
drm/amdkfd: fix the build when CIK support is disabled

Add proper ifdefs around CIK code in kfd setup.

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c