All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: disable page queue on SDMA for Vega12
@ 2018-10-30  7:37 Chen Gong
       [not found] ` <1540885041-14731-1-git-send-email-Curry-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Gong @ 2018-10-30  7:37 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
  Cc: Junwei Zhang, Curry.Gong-5C7GfCeVMHo

From: Junwei Zhang <Jerry.Zhang@amd.com>

It blocks most of sanity tests, so disable it for now.

Tested-by: Chen Gong <Curry.Gong@amd.com>
Signed-off-by: Junwei Zhang <Jerry.Zhang@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;
 	}
 
-- 
2.7.4

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/amdgpu: disable page queue on SDMA for Vega12
       [not found] ` <1540885041-14731-1-git-send-email-Curry-5C7GfCeVMHo@public.gmane.org>
@ 2018-10-30  9:45   ` Christian König
  0 siblings, 0 replies; 2+ messages in thread
From: Christian König @ 2018-10-30  9:45 UTC (permalink / raw)
  To: Chen Gong, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
  Cc: Junwei Zhang, Curry.Gong-5C7GfCeVMHo

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

Acked-by: Christian König <christian.koenig@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;
>   	}
>   

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-30  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-30  7:37 [PATCH] drm/amdgpu: disable page queue on SDMA for Vega12 Chen Gong
     [not found] ` <1540885041-14731-1-git-send-email-Curry-5C7GfCeVMHo@public.gmane.org>
2018-10-30  9:45   ` Christian König

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.