* [PATCH] drm/amdgpu/gmc9: fix mmhub client mapping for arcturus
@ 2021-02-02 21:54 Alex Deucher
2021-02-03 9:07 ` Christian König
0 siblings, 1 reply; 2+ messages in thread
From: Alex Deucher @ 2021-02-02 21:54 UTC (permalink / raw)
To: amd-gfx; +Cc: Alex Deucher
The hw interface changed on arcturus so the old numbering
scheme doesn't work.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 66 +++++++++++++--------------
1 file changed, 32 insertions(+), 34 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index aedef9017c4c..3686e777c76c 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@ -239,46 +239,44 @@ static const char *mmhub_client_ids_vega20[][2] = {
};
static const char *mmhub_client_ids_arcturus[][2] = {
+ [0][0] = "DBGU1",
+ [1][0] = "XDP",
[2][0] = "MP1",
- [3][0] = "MP0",
- [10][0] = "UTCL2",
- [13][0] = "OSS",
[14][0] = "HDP",
- [15][0] = "SDMA0",
- [32+15][0] = "SDMA1",
- [64+15][0] = "SDMA2",
- [96+15][0] = "SDMA3",
- [128+15][0] = "SDMA4",
- [160+11][0] = "JPEG",
- [160+12][0] = "VCN",
- [160+13][0] = "VCNU",
- [160+15][0] = "SDMA5",
- [192+10][0] = "UTCL2",
- [192+11][0] = "JPEG1",
- [192+12][0] = "VCN1",
- [192+13][0] = "VCN1U",
- [192+15][0] = "SDMA6",
- [224+15][0] = "SDMA7",
+ [171][0] = "JPEG",
+ [172][0] = "VCN",
+ [173][0] = "VCNU",
+ [203][0] = "JPEG1",
+ [204][0] = "VCN1",
+ [205][0] = "VCN1U",
+ [256][0] = "SDMA0",
+ [257][0] = "SDMA1",
+ [258][0] = "SDMA2",
+ [259][0] = "SDMA3",
+ [260][0] = "SDMA4",
+ [261][0] = "SDMA5",
+ [262][0] = "SDMA6",
+ [263][0] = "SDMA7",
+ [384][0] = "OSS",
[0][1] = "DBGU1",
[1][1] = "XDP",
[2][1] = "MP1",
- [3][1] = "MP0",
- [13][1] = "OSS",
[14][1] = "HDP",
- [15][1] = "SDMA0",
- [32+15][1] = "SDMA1",
- [64+15][1] = "SDMA2",
- [96+15][1] = "SDMA3",
- [128+15][1] = "SDMA4",
- [160+11][1] = "JPEG",
- [160+12][1] = "VCN",
- [160+13][1] = "VCNU",
- [160+15][1] = "SDMA5",
- [192+11][1] = "JPEG1",
- [192+12][1] = "VCN1",
- [192+13][1] = "VCN1U",
- [192+15][1] = "SDMA6",
- [224+15][1] = "SDMA7",
+ [171][1] = "JPEG",
+ [172][1] = "VCN",
+ [173][1] = "VCNU",
+ [203][1] = "JPEG1",
+ [204][1] = "VCN1",
+ [205][1] = "VCN1U",
+ [256][1] = "SDMA0",
+ [257][1] = "SDMA1",
+ [258][1] = "SDMA2",
+ [259][1] = "SDMA3",
+ [260][1] = "SDMA4",
+ [261][1] = "SDMA5",
+ [262][1] = "SDMA6",
+ [263][1] = "SDMA7",
+ [384][1] = "OSS",
};
static const struct soc15_reg_golden golden_settings_mmhub_1_0_0[] =
--
2.29.2
_______________________________________________
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/gmc9: fix mmhub client mapping for arcturus
2021-02-02 21:54 [PATCH] drm/amdgpu/gmc9: fix mmhub client mapping for arcturus Alex Deucher
@ 2021-02-03 9:07 ` Christian König
0 siblings, 0 replies; 2+ messages in thread
From: Christian König @ 2021-02-03 9:07 UTC (permalink / raw)
To: Alex Deucher, amd-gfx; +Cc: Alex Deucher
Am 02.02.21 um 22:54 schrieb Alex Deucher:
> The hw interface changed on arcturus so the old numbering
> scheme doesn't work.
>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 66 +++++++++++++--------------
> 1 file changed, 32 insertions(+), 34 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> index aedef9017c4c..3686e777c76c 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
> @@ -239,46 +239,44 @@ static const char *mmhub_client_ids_vega20[][2] = {
> };
>
> static const char *mmhub_client_ids_arcturus[][2] = {
> + [0][0] = "DBGU1",
> + [1][0] = "XDP",
> [2][0] = "MP1",
> - [3][0] = "MP0",
> - [10][0] = "UTCL2",
> - [13][0] = "OSS",
> [14][0] = "HDP",
> - [15][0] = "SDMA0",
> - [32+15][0] = "SDMA1",
> - [64+15][0] = "SDMA2",
> - [96+15][0] = "SDMA3",
> - [128+15][0] = "SDMA4",
> - [160+11][0] = "JPEG",
> - [160+12][0] = "VCN",
> - [160+13][0] = "VCNU",
> - [160+15][0] = "SDMA5",
> - [192+10][0] = "UTCL2",
> - [192+11][0] = "JPEG1",
> - [192+12][0] = "VCN1",
> - [192+13][0] = "VCN1U",
> - [192+15][0] = "SDMA6",
> - [224+15][0] = "SDMA7",
> + [171][0] = "JPEG",
> + [172][0] = "VCN",
> + [173][0] = "VCNU",
> + [203][0] = "JPEG1",
> + [204][0] = "VCN1",
> + [205][0] = "VCN1U",
> + [256][0] = "SDMA0",
> + [257][0] = "SDMA1",
> + [258][0] = "SDMA2",
> + [259][0] = "SDMA3",
> + [260][0] = "SDMA4",
> + [261][0] = "SDMA5",
> + [262][0] = "SDMA6",
> + [263][0] = "SDMA7",
> + [384][0] = "OSS",
> [0][1] = "DBGU1",
> [1][1] = "XDP",
> [2][1] = "MP1",
> - [3][1] = "MP0",
> - [13][1] = "OSS",
> [14][1] = "HDP",
> - [15][1] = "SDMA0",
> - [32+15][1] = "SDMA1",
> - [64+15][1] = "SDMA2",
> - [96+15][1] = "SDMA3",
> - [128+15][1] = "SDMA4",
> - [160+11][1] = "JPEG",
> - [160+12][1] = "VCN",
> - [160+13][1] = "VCNU",
> - [160+15][1] = "SDMA5",
> - [192+11][1] = "JPEG1",
> - [192+12][1] = "VCN1",
> - [192+13][1] = "VCN1U",
> - [192+15][1] = "SDMA6",
> - [224+15][1] = "SDMA7",
> + [171][1] = "JPEG",
> + [172][1] = "VCN",
> + [173][1] = "VCNU",
> + [203][1] = "JPEG1",
> + [204][1] = "VCN1",
> + [205][1] = "VCN1U",
> + [256][1] = "SDMA0",
> + [257][1] = "SDMA1",
> + [258][1] = "SDMA2",
> + [259][1] = "SDMA3",
> + [260][1] = "SDMA4",
> + [261][1] = "SDMA5",
> + [262][1] = "SDMA6",
> + [263][1] = "SDMA7",
> + [384][1] = "OSS",
> };
>
> static const struct soc15_reg_golden golden_settings_mmhub_1_0_0[] =
_______________________________________________
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:[~2021-02-03 9:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 21:54 [PATCH] drm/amdgpu/gmc9: fix mmhub client mapping for arcturus Alex Deucher
2021-02-03 9:07 ` 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.