* [PATCH] drm/amdgpu: Rename the flags to eliminate ambiguity v2
@ 2021-04-29 6:31 Peng Ju Zhou
2021-04-30 4:33 ` Deng, Emily
0 siblings, 1 reply; 2+ messages in thread
From: Peng Ju Zhou @ 2021-04-29 6:31 UTC (permalink / raw)
To: amd-gfx
The flags vf_reg_access_* may cause confusion,
rename the flags to make it more clear.
Signed-off-by: Peng Ju Zhou <PengJu.Zhou@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h b/drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h
index 1a8f6d4baab2..befd0b4b7bea 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h
@@ -98,9 +98,9 @@ union amd_sriov_msg_feature_flags {
union amd_sriov_reg_access_flags {
struct {
- uint32_t vf_reg_access_ih : 1;
- uint32_t vf_reg_access_mmhub : 1;
- uint32_t vf_reg_access_gc : 1;
+ uint32_t vf_reg_psp_access_ih : 1;
+ uint32_t vf_reg_rlc_access_mmhub : 1;
+ uint32_t vf_reg_rlc_access_gc : 1;
uint32_t reserved : 29;
} flags;
uint32_t all;
--
2.17.1
_______________________________________________
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: Rename the flags to eliminate ambiguity v2
2021-04-29 6:31 [PATCH] drm/amdgpu: Rename the flags to eliminate ambiguity v2 Peng Ju Zhou
@ 2021-04-30 4:33 ` Deng, Emily
0 siblings, 0 replies; 2+ messages in thread
From: Deng, Emily @ 2021-04-30 4:33 UTC (permalink / raw)
To: Zhou, Peng Ju, amd-gfx
[AMD Official Use Only - Internal Distribution Only]
Reviewed-by: Emily Deng <Emily.Deng@amd.com>
>-----Original Message-----
>From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Peng
>Ju Zhou
>Sent: Thursday, April 29, 2021 2:31 PM
>To: amd-gfx@lists.freedesktop.org
>Subject: [PATCH] drm/amdgpu: Rename the flags to eliminate ambiguity v2
>
>The flags vf_reg_access_* may cause confusion, rename the flags to make it
>more clear.
>
>Signed-off-by: Peng Ju Zhou <PengJu.Zhou@amd.com>
>---
> drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
>diff --git a/drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h
>b/drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h
>index 1a8f6d4baab2..befd0b4b7bea 100644
>--- a/drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h
>+++ b/drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h
>@@ -98,9 +98,9 @@ union amd_sriov_msg_feature_flags {
>
> union amd_sriov_reg_access_flags {
> struct {
>-uint32_t vf_reg_access_ih : 1;
>-uint32_t vf_reg_access_mmhub : 1;
>-uint32_t vf_reg_access_gc : 1;
>+uint32_t vf_reg_psp_access_ih : 1;
>+uint32_t vf_reg_rlc_access_mmhub : 1;
>+uint32_t vf_reg_rlc_access_gc : 1;
> uint32_t reserved : 29;
> } flags;
> uint32_t all;
>--
>2.17.1
>
>_______________________________________________
>amd-gfx mailing list
>amd-gfx@lists.freedesktop.org
>https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.f
>reedesktop.org%2Fmailman%2Flistinfo%2Famd-
>gfx&data=04%7C01%7CEmily.Deng%40amd.com%7C4c15cf51efce4392
>8ee608d90ad86457%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7
>C637552746778898204%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAw
>MDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sda
>ta=bN8GQYh%2Ftzs0Lg%2BhzMqRyoIwuyR42T6TLZdXszh3mlw%3D&rese
>rved=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-04-30 4:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29 6:31 [PATCH] drm/amdgpu: Rename the flags to eliminate ambiguity v2 Peng Ju Zhou
2021-04-30 4:33 ` Deng, Emily
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.