From: Alex Deucher Date: Fri, 30 Sep 2016 03:20:29 +0000 (-0400) Subject: drm/amdgpu/virtual_dce: adjust config ifdef X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8cb619d82ef9668cb820311904391bc493872b67;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/amdgpu/virtual_dce: adjust config ifdef Include the CIK asics in the ifdef. Reviewed-By: Emily Deng Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c index a754f2522ba2..c2bd9f045532 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c @@ -99,15 +99,15 @@ static void dce_virtual_stop_mc_access(struct amdgpu_device *adev, struct amdgpu_mode_mc_save *save) { switch (adev->asic_type) { +#ifdef CONFIG_DRM_AMDGPU_CIK case CHIP_BONAIRE: case CHIP_HAWAII: case CHIP_KAVERI: case CHIP_KABINI: case CHIP_MULLINS: -#ifdef CONFIG_DRM_AMDGPU_CIK dce_v8_0_disable_dce(adev); -#endif break; +#endif case CHIP_FIJI: case CHIP_TONGA: dce_v10_0_disable_dce(adev);