drm/amd/amdgpu/vcn: Add RB decouple feature under SRIOV - P1
Subsystems (2)
PATCH v4 1/4 drm/amd/amdgpu/vcn: Add RB decouple feature under SRIOV - P1
- Update SRIOV header with RB decouple flag
--- drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h +3 -2
@@ -90,10 +90,11 @@ union amd_sriov_msg_feature_flags { uint32_t host_load_ucodes : 1; uint32_t host_flr_vramlost : 1; uint32_t mm_bw_management : 1; - uint32_t pp_one_vf_mode : 1; + uint32_t pp_one_vf_mode : 1; uint32_t reg_indirect_acc : 1; uint32_t av1_support : 1; - uint32_t reserved : 25; + uint32_t vcn_rb_decouple : 1; + uint32_t reserved : 24; } flags;uint32_t all; };
Signature · 1 line
2.34.1
Am 16.10.23 um 18:52 schrieb Bokun Zhang:
Quoted 12 lines
- Update SRIOV header with RB decouple flag
Signed-off-by Bokun Zhang <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h +0
-0
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h union amd_sriov_msg_feature_flags { · line 97
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h +3
-2@@ -90,10 +90,11 @@ union amd_sriov_msg_feature_flags { uint32_t host_load_ucodes : 1; uint32_t host_flr_vramlost : 1; uint32_t mm_bw_management : 1; - uint32_t pp_one_vf_mode : 1; + uint32_t pp_one_vf_mode : 1; uint32_t reg_indirect_acc : 1; uint32_t av1_support : 1; - uint32_t reserved : 25; + uint32_t vcn_rb_decouple : 1; + uint32_t reserved : 24;
Are you guys using bitfields for SRIOV guest<->host communication?
Christian.
Quoted 3 lines
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h +0
-0} flags;uint32_t all; };
[AMD Official Use Only - General]
Hey Chris,
Yes, we use bitfield as flags to control certain features.
________________________________
From: Christian König <[email protected]>
Sent: Monday, October 16, 2023 1:58 PM
To: Zhang, Bokun <[email protected]>; [email protected] <[email protected]>
Subject: Re: [PATCH v4 1/4] drm/amd/amdgpu/vcn: Add RB decouple feature under SRIOV - P1
Am 16.10.23 um 18:52 schrieb Bokun Zhang:
Quoted 12 lines
- Update SRIOV header with RB decouple flag
Signed-off-by Bokun Zhang <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h +0
-0
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h union amd_sriov_msg_feature_flags { · line 97
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h +3
-2@@ -90,10 +90,11 @@ union amd_sriov_msg_feature_flags { uint32_t host_load_ucodes : 1; uint32_t host_flr_vramlost : 1; uint32_t mm_bw_management : 1; - uint32_t pp_one_vf_mode : 1; + uint32_t pp_one_vf_mode : 1; uint32_t reg_indirect_acc : 1; uint32_t av1_support : 1; - uint32_t reserved : 25; + uint32_t vcn_rb_decouple : 1; + uint32_t reserved : 24;
Are you guys using bitfields for SRIOV guest<->host communication?
Christian.
Quoted 3 lines
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h +0
-0} flags;uint32_t all; };