aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.h
diff options
context:
space:
mode:
authorLang Yu <[email protected]>2023-01-16 05:11:59 +0000
committerAlex Deucher <[email protected]>2024-03-07 20:33:01 +0000
commit26f5f34e6e44f995d97b8917484373c22715fd8d (patch)
tree19b2fcfd242487c371071851f7aa5cc104a58628 /drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.h
parentdrm/amdgpu/vpe: add PRED_EXE and COLLAB_SYNC OPCODE (diff)
downloadkernel-26f5f34e6e44f995d97b8917484373c22715fd8d.tar.gz
kernel-26f5f34e6e44f995d97b8917484373c22715fd8d.zip
drm/amdgpu/vpe: add collaborate mode support for VPE
Under clollaborate mode, multiple VPE instances share a ring buferr and work together to finish a job. Signed-off-by: Lang Yu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.h
index ee6db04cf27b..231d86d0953e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.h
@@ -78,6 +78,7 @@ struct amdgpu_vpe {
bool context_started;
uint32_t num_instances;
+ bool collaborate_mode;
};
int amdgpu_vpe_psp_update_sram(struct amdgpu_device *adev);