mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
drm/amdgpu/jpeg: update jpeg header to support multiple AIDs
Add aid_id in jpeg header to support multiple AIDs. Signed-off-by: James Zhu <James.Zhu@amd.com> Acked-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
f9f74df58f
commit
492c464750
|
|
@ -40,6 +40,7 @@ struct amdgpu_jpeg_inst {
|
|||
struct amdgpu_ring ring_dec[AMDGPU_MAX_JPEG_RINGS];
|
||||
struct amdgpu_irq_src irq;
|
||||
struct amdgpu_jpeg_reg external;
|
||||
uint8_t aid_id;
|
||||
};
|
||||
|
||||
struct amdgpu_jpeg_ras {
|
||||
|
|
@ -58,6 +59,7 @@ struct amdgpu_jpeg {
|
|||
atomic_t total_submission_cnt;
|
||||
struct ras_common_if *ras_if;
|
||||
struct amdgpu_jpeg_ras *ras;
|
||||
uint8_t num_inst_per_aid;
|
||||
};
|
||||
|
||||
int amdgpu_jpeg_sw_init(struct amdgpu_device *adev);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user