[PATCH] drm/amdgpu: enable UVD VM only on polaris

Deucher, Alexander Alexander.Deucher at amd.com
Thu Jul 28 02:42:59 UTC 2016


> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Christian König
> Sent: Monday, July 25, 2016 10:44 AM
> To: amd-gfx at lists.freedesktop.org
> Subject: [PATCH] drm/amdgpu: enable UVD VM only on polaris
> 
> From: Christian König <christian.koenig at amd.com>
> 
> Stoney support it, but doesn't has unlimited session support.
> 
> Signed-off-by: Christian König <christian.koenig at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
> b/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
> index f46d11c..4fa5091 100644
> --- a/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
> @@ -1074,7 +1074,7 @@ static const struct amdgpu_ring_funcs
> uvd_v6_0_ring_vm_funcs = {
> 
>  static void uvd_v6_0_set_ring_funcs(struct amdgpu_device *adev)
>  {
> -	if (adev->asic_type >= CHIP_STONEY) {
> +	if (adev->asic_type >= CHIP_POLARIS10) {
>  		adev->uvd.ring.funcs = &uvd_v6_0_ring_vm_funcs;
>  		DRM_INFO("UVD is enabled in VM mode\n");
>  	} else {
> --
> 2.5.0
> 
> _______________________________________________
> 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