drm/amdgpu: Fix undefined dm_ip_block for navi12
authorPetr Cvek <petrcvekcz@gmail.com>
Fri, 30 Aug 2019 14:31:58 +0000 (16:31 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2019 20:37:17 +0000 (15:37 -0500)
commit20c14ee135011f2a0fb2f987f05fd9655e804a9d
tree672920faec17d2a2334bbd38fe4279087704bf28
parent537e3bbfeea10c57479acd64b9387c20e555a958
drm/amdgpu: Fix undefined dm_ip_block for navi12

There is missing "if defined" CONFIG_DRM_AMD_DC block for non DC
configurations. This will cause link error. The patch is fixing that.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=110979
Signed-off-by: Petr Cvek <petrcvekcz@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c