diff options
| author | Boyuan Zhang <[email protected]> | 2024-07-11 20:19:54 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-16 15:43:48 +0000 |
| commit | ecfa23c8df7ef3ea2a429dfe039341bf792e95b4 (patch) | |
| tree | 2f65686df32ce9a75786fee311a30ca48a3e02ba /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | |
| parent | drm/amd/display: fix doc entry for bb_from_dmub (diff) | |
| download | kernel-ecfa23c8df7ef3ea2a429dfe039341bf792e95b4.tar.gz kernel-ecfa23c8df7ef3ea2a429dfe039341bf792e95b4.zip | |
drm/amdgpu/vcn: identify unified queue in sw init
Determine whether VCN using unified queue in sw_init, instead of calling
functions later on.
v2: fix coding style
Signed-off-by: Boyuan Zhang <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Reviewed-by: Ruijing Dong <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h index 9f06def236fd..1a5439abd1a0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h @@ -329,6 +329,7 @@ struct amdgpu_vcn { uint16_t inst_mask; uint8_t num_inst_per_aid; + bool using_unified_queue; }; struct amdgpu_fw_shared_rb_ptrs_struct { |
