* [PATCH] drm/amd/sriov no need to config GECC for sriov
@ 2021-04-14 9:03 Jack Zhang
2021-04-14 9:12 ` Zhang, Hawking
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Jack Zhang @ 2021-04-14 9:03 UTC (permalink / raw)
To: amd-gfx, Stanley.Yang, john.clements, Hawking.Zhang; +Cc: Jack Zhang
No need to config GECC feature here for sriov
Leave the host drvier to do the configuration job.
Signed-off-by: Jack Zhang <Jack.Zhang1@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index 123ab3156f5a..7bdf93716fbf 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -567,7 +567,7 @@ static int psp_boot_config_set(struct amdgpu_device *adev)
struct psp_context *psp = &adev->psp;
struct psp_gfx_cmd_resp *cmd = psp->cmd;
- if (adev->asic_type != CHIP_SIENNA_CICHLID)
+ if (adev->asic_type != CHIP_SIENNA_CICHLID || amdgpu_sriov_vf(adev))
return 0;
memset(cmd, 0, sizeof(struct psp_gfx_cmd_resp));
--
2.25.1
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: [PATCH] drm/amd/sriov no need to config GECC for sriov
2021-04-14 9:03 [PATCH] drm/amd/sriov no need to config GECC for sriov Jack Zhang
@ 2021-04-14 9:12 ` Zhang, Hawking
2021-04-14 9:14 ` Yang, Stanley
2021-04-14 9:17 ` Yang, Stanley
2 siblings, 0 replies; 4+ messages in thread
From: Zhang, Hawking @ 2021-04-14 9:12 UTC (permalink / raw)
To: Zhang, Jack (Jian), amd-gfx, Yang, Stanley, Clements, John
Cc: Zhang, Jack (Jian)
[AMD Official Use Only - Internal Distribution Only]
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Regards,
Hawking
-----Original Message-----
From: Jack Zhang <Jack.Zhang1@amd.com>
Sent: Wednesday, April 14, 2021 17:04
To: amd-gfx@lists.freedesktop.org; Yang, Stanley <Stanley.Yang@amd.com>; Clements, John <John.Clements@amd.com>; Zhang, Hawking <Hawking.Zhang@amd.com>
Cc: Zhang, Jack (Jian) <Jack.Zhang1@amd.com>
Subject: [PATCH] drm/amd/sriov no need to config GECC for sriov
No need to config GECC feature here for sriov Leave the host drvier to do the configuration job.
Signed-off-by: Jack Zhang <Jack.Zhang1@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index 123ab3156f5a..7bdf93716fbf 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -567,7 +567,7 @@ static int psp_boot_config_set(struct amdgpu_device *adev)
struct psp_context *psp = &adev->psp;
struct psp_gfx_cmd_resp *cmd = psp->cmd;
- if (adev->asic_type != CHIP_SIENNA_CICHLID)
+ if (adev->asic_type != CHIP_SIENNA_CICHLID || amdgpu_sriov_vf(adev))
return 0;
memset(cmd, 0, sizeof(struct psp_gfx_cmd_resp));
--
2.25.1
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: [PATCH] drm/amd/sriov no need to config GECC for sriov
2021-04-14 9:03 [PATCH] drm/amd/sriov no need to config GECC for sriov Jack Zhang
2021-04-14 9:12 ` Zhang, Hawking
@ 2021-04-14 9:14 ` Yang, Stanley
2021-04-14 9:17 ` Yang, Stanley
2 siblings, 0 replies; 4+ messages in thread
From: Yang, Stanley @ 2021-04-14 9:14 UTC (permalink / raw)
To: Zhang, Jack (Jian), amd-gfx, Clements, John, Zhang, Hawking
Cc: Zhang, Jack (Jian)
[AMD Official Use Only - Internal Distribution Only]
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Regards,
Stanley
> -----Original Message-----
> From: Jack Zhang <Jack.Zhang1@amd.com>
> Sent: Wednesday, April 14, 2021 5:04 PM
> To: amd-gfx@lists.freedesktop.org; Yang, Stanley <Stanley.Yang@amd.com>;
> Clements, John <John.Clements@amd.com>; Zhang, Hawking
> <Hawking.Zhang@amd.com>
> Cc: Zhang, Jack (Jian) <Jack.Zhang1@amd.com>
> Subject: [PATCH] drm/amd/sriov no need to config GECC for sriov
>
> No need to config GECC feature here for sriov Leave the host drvier to do the
> configuration job.
>
> Signed-off-by: Jack Zhang <Jack.Zhang1@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> index 123ab3156f5a..7bdf93716fbf 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> @@ -567,7 +567,7 @@ static int psp_boot_config_set(struct amdgpu_device
> *adev)
> struct psp_context *psp = &adev->psp;
> struct psp_gfx_cmd_resp *cmd = psp->cmd;
>
> - if (adev->asic_type != CHIP_SIENNA_CICHLID)
> + if (adev->asic_type != CHIP_SIENNA_CICHLID ||
> amdgpu_sriov_vf(adev))
> return 0;
>
> memset(cmd, 0, sizeof(struct psp_gfx_cmd_resp));
> --
> 2.25.1
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH] drm/amd/sriov no need to config GECC for sriov
2021-04-14 9:03 [PATCH] drm/amd/sriov no need to config GECC for sriov Jack Zhang
2021-04-14 9:12 ` Zhang, Hawking
2021-04-14 9:14 ` Yang, Stanley
@ 2021-04-14 9:17 ` Yang, Stanley
2 siblings, 0 replies; 4+ messages in thread
From: Yang, Stanley @ 2021-04-14 9:17 UTC (permalink / raw)
To: Zhang, Jack (Jian), amd-gfx, Clements, John, Zhang, Hawking
Cc: Zhang, Jack (Jian)
[AMD Official Use Only - Internal Distribution Only]
Stanley.Yang <Stanley.Yang@amd.com>
Regards,
Stanley
> -----Original Message-----
> From: Jack Zhang <Jack.Zhang1@amd.com>
> Sent: Wednesday, April 14, 2021 5:04 PM
> To: amd-gfx@lists.freedesktop.org; Yang, Stanley <Stanley.Yang@amd.com>;
> Clements, John <John.Clements@amd.com>; Zhang, Hawking
> <Hawking.Zhang@amd.com>
> Cc: Zhang, Jack (Jian) <Jack.Zhang1@amd.com>
> Subject: [PATCH] drm/amd/sriov no need to config GECC for sriov
>
> No need to config GECC feature here for sriov Leave the host drvier to do the
> configuration job.
>
> Signed-off-by: Jack Zhang <Jack.Zhang1@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> index 123ab3156f5a..7bdf93716fbf 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> @@ -567,7 +567,7 @@ static int psp_boot_config_set(struct amdgpu_device
> *adev)
> struct psp_context *psp = &adev->psp;
> struct psp_gfx_cmd_resp *cmd = psp->cmd;
>
> - if (adev->asic_type != CHIP_SIENNA_CICHLID)
> + if (adev->asic_type != CHIP_SIENNA_CICHLID ||
> amdgpu_sriov_vf(adev))
> return 0;
>
> memset(cmd, 0, sizeof(struct psp_gfx_cmd_resp));
> --
> 2.25.1
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-04-14 9:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 9:03 [PATCH] drm/amd/sriov no need to config GECC for sriov Jack Zhang
2021-04-14 9:12 ` Zhang, Hawking
2021-04-14 9:14 ` Yang, Stanley
2021-04-14 9:17 ` Yang, Stanley
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.