[PATCH] drm/amdgpu: disable page queue on SDMA for Vega12

Christian König ckoenig.leichtzumerken at gmail.com
Tue Oct 30 09:45:23 UTC 2018


Am 30.10.18 um 08:37 schrieb Chen Gong:
> From: Junwei Zhang <Jerry.Zhang at amd.com>
>
> It blocks most of sanity tests, so disable it for now.
>
> Tested-by: Chen Gong <Curry.Gong at amd.com>
> Signed-off-by: Junwei Zhang <Jerry.Zhang at amd.com>

Acked-by: Christian König <christian.koenig at amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
> index 88d9343..3143ae8 100644
> --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
> @@ -1474,7 +1474,8 @@ static int sdma_v4_0_early_init(void *handle)
>   		adev->sdma.has_page_queue = false;
>   	} else {
>   		adev->sdma.num_instances = 2;
> -		if (adev->asic_type != CHIP_VEGA20)
> +		if (adev->asic_type != CHIP_VEGA20 &&
> +				adev->asic_type != CHIP_VEGA12)
>   			adev->sdma.has_page_queue = true;
>   	}
>   



More information about the amd-gfx mailing list