]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amdgpu: Rename the flags to eliminate ambiguity v2
authorPeng Ju Zhou <PengJu.Zhou@amd.com>
Thu, 29 Apr 2021 06:16:52 +0000 (14:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:06:44 +0000 (18:06 -0400)
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>
Reviewed-by: Emily Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h

index 1a8f6d4baab24ff3107155822f9d6320cadab652..befd0b4b7bea0059a5474fde08ef3ab4f1cab2c6 100644 (file)
@@ -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;