[PATCH] drm/amdgpu: disable page queue support for Vega20

Christian König ckoenig.leichtzumerken at gmail.com
Thu Nov 22 09:14:31 UTC 2018


Am 21.11.18 um 07:40 schrieb Evan Quan:
> Keep it disabled until we confirm it's ready.
>
> Change-Id: I2dc4c0f1156dd82f7046672fed6d22b9d18c2010
> Signed-off-by: Evan Quan <evan.quan 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 0a3b68dd49a0..e6cb2c399957 100644
> --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
> @@ -1457,7 +1457,8 @@ static bool sdma_v4_0_fw_support_paging_queue(struct amdgpu_device *adev)
>   	case CHIP_VEGA12:
>   		return fw_version >= 31;
>   	case CHIP_VEGA20:
> -		return fw_version >= 115;
> +		//return fw_version >= 115;
> +		return false;

Please don't use "//" in kernel code to comment things out.

Christian.

>   	default:
>   		return false;
>   	}



More information about the amd-gfx mailing list