[PATCH 2/3] drm/amdgpu/virtual_dce: add case for topaz for disable_dce

Deng, Emily Emily.Deng at amd.com
Tue Aug 9 03:08:41 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: Tuesday, August 09, 2016 2:47 AM
> To: amd-gfx at lists.freedesktop.org
> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>
> Subject: [PATCH 2/3] drm/amdgpu/virtual_dce: add case for topaz for
> disable_dce
> 
> This asic has no DCE block.  Also clarify the error message for unmatched chips.
> 
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> index 4c8ca58..5499693 100644
> --- a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> +++ b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> @@ -124,8 +124,11 @@ void dce_virtual_stop_mc_access(struct
> amdgpu_device *adev,
>  	case CHIP_POLARIS10:
>  		dce_v11_0_disable_dce(adev);
>  		break;
> +	case CHIP_TOPAZ:
> +		/* no DCE */
> +		return;
>  	default:
> -		DRM_ERROR("Usupported ASIC type: 0x%X\n", adev-
> >asic_type);
> +		DRM_ERROR("Virtual display unsupported ASIC type: 0x%X\n",
> +adev->asic_type);
>  	}
> 
>  	return;
> --
> 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