mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 11:02:31 -04:00
drm/amdgpu/vpe: add multi instance VPE support
Add support for multi instance VPE processing. Signed-off-by: Lang Yu <Lang.Yu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
#include "amdgpu_irq.h"
|
||||
#include "vpe_6_1_fw_if.h"
|
||||
|
||||
#define AMDGPU_MAX_VPE_INSTANCES 2
|
||||
|
||||
struct amdgpu_vpe;
|
||||
|
||||
struct vpe_funcs {
|
||||
@@ -74,6 +76,8 @@ struct amdgpu_vpe {
|
||||
uint32_t *cmdbuf_cpu_addr;
|
||||
struct delayed_work idle_work;
|
||||
bool context_started;
|
||||
|
||||
uint32_t num_instances;
|
||||
};
|
||||
|
||||
int amdgpu_vpe_psp_update_sram(struct amdgpu_device *adev);
|
||||
|
||||
Reference in New Issue
Block a user