Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-09-26 | drm/amdgpu: add amdgpu_jpeg_sched_mask debugfs | Sathishkumar S | 1 | -0/+1 | |
JPEG_4_0_3 has up to 32 jpeg cores and a single mjpeg video decode will use all available cores on the hardware. This debugfs entry helps to disable or enable job submission to a cluster of cores or one specific core in the ip for debugging. The entry is populated only if there is at least two or more cores in the jpeg ip. Signed-off-by: Sathishkumar S <[email protected]> Reviewed-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-06-27 | drm/amdgpu/jpeg5: Add support for DPG mode | Sonny Jiang | 1 | -0/+31 | |
Add DPG support for JPEG 5.0 Signed-off-by: Sonny Jiang <[email protected]> Acked-by: Saleemkhan Jamadar <[email protected]> Reviewed-by: David (Ming Qiang) Wu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-02-12 | drm/amdgpu/jpeg: add support for jpeg DPG mode | Saleemkhan Jamadar | 1 | -0/+36 | |
Jpeg DPG support for GC IP v11_5_0 Signed-off-by: Saleemkhan Jamadar <[email protected]> Reviewed-by: Leo Liu <[email protected]> Reviewed-by: Veerabadhran Gopalakrishnan <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-06-09 | drm/amdgpu: separate ras irq from jpeg instance irq for UVD_POISON | Horatio Zhang | 1 | -0/+3 | |
Separate jpegbRAS poison consumption handling from the instance irq, and register dedicated ras_poison_irq src and funcs for UVD_POISON. v2: - Separate ras irq from jpeg instance irq - Improve the subject and code comments v3: - Split the patch into three parts - Improve the code comments Suggested-by: Hawking Zhang <[email protected]> Signed-off-by: Horatio Zhang <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-06-09 | drm/amdgpu: Add instance mask for VCN and JPEG | Lijo Lazar | 1 | -0/+2 | |
Keep an instance mask formed by physical instance numbers for VCN and JPEG IPs. Populate the mask from discovery table information. Signed-off-by: Lijo Lazar <[email protected]> Acked-by: Leo Liu <[email protected]> Tested-by: James Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-06-09 | drm/amdgpu: increase MAX setting to hold more jpeg instances | James Zhu | 1 | -1/+1 | |
vcn_v4_0_3 increased jpeg instances, need increasing MAX resources setting accordlingly. Signed-off-by: James Zhu <[email protected]> Acked-by Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-06-09 | drm/amdgpu/jpeg: update jpeg header to support multiple AIDs | James Zhu | 1 | -0/+2 | |
Add aid_id in jpeg header to support multiple AIDs. Signed-off-by: James Zhu <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-06-09 | drm/amdgpu/jpeg: add multiple jpeg rings support | James Zhu | 1 | -2/+4 | |
Add multiple jpeg rings support. Signed-off-by: James Zhu <[email protected]> Reviewed-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-03-13 | drm/amdgpu: Move jpeg ras block init to ras sw_init | Hawking Zhang | 1 | -1/+1 | |
Initialize jpeg ras block only when jpeg ip block supports ras features. Driver queries ras capabilities after early_init, ras block init needs to be moved to sw_int. Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Stanley Yang <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-11-17 | drm/amdgpu: define common jpeg_set_ras_funcs | Tao Zhou | 1 | -0/+1 | |
Make the code reusable. Signed-off-by: Tao Zhou <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-10 | drm/amdgpu/jpeg: add jpeg ras poison consumption handling | Mohammad Zafar Ziya | 1 | -0/+4 | |
Add jpeg ras poison event callback and consumption handling V2: Removed the default poison consumption cb handle Signed-off-by: Mohammad Zafar Ziya <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-03-28 | drm/amdgpu/jpeg: Add jpeg block ras support | Mohammad Zafar Ziya | 1 | -0/+8 | |
Ras support addition for JPEG block V2: removed default callback Signed-off-by: Mohammad Zafar Ziya <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2020-07-01 | drm/amdgpu/jpeg: fix race condition issue for jpeg start | James Zhu | 1 | -0/+2 | |
Fix race condition issue when multiple jpeg starts are called. Signed-off-by: James Zhu <[email protected]> Acked-by: Nirmoy Das <[email protected]> Reviewed-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2020-04-09 | drm/amdgpu: rework sched_list generation | Nirmoy Das | 1 | -2/+0 | |
Generate HW IP's sched_list in amdgpu_ring_init() instead of amdgpu_ctx.c. This makes amdgpu_ctx_init_compute_sched(), ring.has_high_prio and amdgpu_ctx_init_sched() unnecessary. This patch also stores sched_list for all HW IPs in one big array in struct amdgpu_device which makes amdgpu_ctx_init_entity() much more leaner. v2: fix a coding style issue do not use drm hw_ip const to populate amdgpu_ring_type enum v3: remove ctx reference and move sched array and num_sched to a struct use num_scheds to detect uninitialized scheduler list v4: use array_index_nospec for user space controlled variables fix possible checkpatch.pl warnings Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-12-18 | amd/amdgpu: add sched array to IPs with multiple run-queues | Nirmoy Das | 1 | -0/+2 | |
This sched array can be passed on to entity creation routine instead of manually creating such sched array on every context creation. v2: squash in missing break fix Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-11-19 | drm/amdgpu: move JPEG2.5 out from VCN2.5 | Leo Liu | 1 | -0/+3 | |
And clean up the duplicated stuff Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-11-19 | drm/amdgpu: add JPEG common functions to amdgpu_jpeg | Leo Liu | 1 | -0/+10 | |
They will be used for JPEG2.0 and later. Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-11-19 | drm/amdgpu: add amdgpu_jpeg and JPEG tests | Leo Liu | 1 | -0/+3 | |
It will be used for all versions of JPEG eventually. Previous JPEG tests will be removed later since they are still used by JPEG2.x. Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-11-19 | drm/amdgpu: add JPEG HW IP and SW structures | Leo Liu | 1 | -0/+46 | |
It will be used for JPEG IP 1.0, 2.0, 2.5 and later. Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> |