summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2018-08-23 11:24:45 +1000
committerDave Airlie <airlied@redhat.com>2018-08-23 11:24:54 +1000
commit8f13b60756a1e5ddc9aa8c6b14807264b6833e5b (patch)
tree151d90b523a7cb7483c828d270c67fbe60e19333 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent4d1608eebcb2191b10ac3aa4ca743a38ac05e100 (diff)
parent9d1d02ff36783f954a206dfbf7943b7f2057f58b (diff)
downloadtalos-op-linux-8f13b60756a1e5ddc9aa8c6b14807264b6833e5b.tar.gz
talos-op-linux-8f13b60756a1e5ddc9aa8c6b14807264b6833e5b.zip
Merge branch 'drm-next-4.19' of git://people.freedesktop.org/~agd5f/linux into drm-next
Fixes for 4.19: - Fix build when KCOV is enabled - Misc display fixes - A couple of SR-IOV fixes - Fence fixes for eviction handling for KFD - Misc other fixes Signed-off-by: Dave Airlie <airlied@redhat.com> From: Alex Deucher <alexdeucher@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180822203813.2733-1-alexander.deucher@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 1e66dfd0e39c..8ab5ccbc14ac 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -2274,7 +2274,7 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type)
case CHIP_VEGA10:
case CHIP_VEGA12:
case CHIP_VEGA20:
-#ifdef CONFIG_X86
+#if defined(CONFIG_DRM_AMD_DC_DCN1_0)
case CHIP_RAVEN:
#endif
return amdgpu_dc != 0;
OpenPOWER on IntegriCloud