mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 18:12:25 -04: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user