File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
drivers/gpu/drm/amd/amdgpu Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,8 @@ enum AMDGIM_FEATURE_FLAG {
126
126
AMDGIM_FEATURE_INDIRECT_REG_ACCESS = (1 << 5 ),
127
127
/* AV1 Support MODE*/
128
128
AMDGIM_FEATURE_AV1_SUPPORT = (1 << 6 ),
129
+ /* VCN RB decouple */
130
+ AMDGIM_FEATURE_VCN_RB_DECOUPLE = (1 << 7 ),
129
131
};
130
132
131
133
enum AMDGIM_REG_ACCESS_FLAG {
@@ -326,6 +328,8 @@ static inline bool is_virtual_machine(void)
326
328
((!amdgpu_in_reset(adev)) && (!adev->virt.tdr_debug))
327
329
#define amdgpu_sriov_is_av1_support (adev ) \
328
330
((adev)->virt.gim_feature & AMDGIM_FEATURE_AV1_SUPPORT)
331
+ #define amdgpu_sriov_is_vcn_rb_decouple (adev ) \
332
+ ((adev)->virt.gim_feature & AMDGIM_FEATURE_VCN_RB_DECOUPLE)
329
333
bool amdgpu_virt_mmio_blocked (struct amdgpu_device * adev );
330
334
void amdgpu_virt_init_setting (struct amdgpu_device * adev );
331
335
void amdgpu_virt_kiq_reg_write_reg_wait (struct amdgpu_device * adev ,
You can’t perform that action at this time.
0 commit comments