[PATCH 2/4] drm/amdgpu/virtual_dce: adjust config ifdef
Deng, Emily
Emily.Deng at amd.com
Fri Sep 30 07:14:21 UTC 2016
Reviewed-By: Emily Deng <Emily.Deng at amd.com>
> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Alex Deucher
> Sent: Friday, September 30, 2016 12:14 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>
> Subject: [PATCH 2/4] drm/amdgpu/virtual_dce: adjust config ifdef
>
> Include the CIK asics in the ifdef.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> index 7c889d3..5ba97a7 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);
> --
> 2.5.5
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list