From: Prike Liang Date: Mon, 10 Jan 2022 05:56:24 +0000 (+0800) Subject: drm/amdgpu: set new revision id for 10.3.7 GC X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b67f00e06f36192da513ac80148b000fbc5b2717;p=linux.git drm/amdgpu: set new revision id for 10.3.7 GC Add new revision ID for GC 10.3.7 and set cg/pg flags. Signed-off-by: Prike Liang Reviewed-by: Huang Rui Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index 5e9ab31fee6b3..66adc4f1aaa8d 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -907,6 +907,11 @@ static int nv_common_early_init(void *handle) adev->pg_flags = 0; adev->external_rev_id = adev->rev_id + 0x82; break; + case IP_VERSION(10, 3, 7): + adev->cg_flags = 0; + adev->pg_flags = 0; + adev->external_rev_id = adev->rev_id + 0x01; + break; default: /* FIXME: not supported yet */ return -EINVAL;