Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-04-23 | drm/amdgpu/vpe: fix vpe dpm setup failed | Peyton Lee | 1 | -1/+1 | |
The vpe dpm settings should be done before firmware is loaded. Otherwise, the frequency cannot be successfully raised. Signed-off-by: Peyton Lee <[email protected]> Reviewed-by: Lang Yu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-03-27 | drm/amdgpu/vpe: power on vpe when hw_init | Peyton Lee | 1 | -0/+6 | |
To fix mode2 reset failure. Should power on VPE when hw_init. Signed-off-by: Peyton Lee <[email protected]> Reviewed-by: Lang Yu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-03-20 | Revert "drm/amdgpu/vpe: don't emit cond exec command under collaborate mode" | Lang Yu | 1 | -3/+0 | |
Ready now. Remove this workaround. This reverts commit d40f6213b52c161fd4634933acbc32103a283363. Signed-off-by: Lang Yu <[email protected]> Tested-by: Alan Liu <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-03-07 | drm/amdgpu/vpe: add VPE 6.1.1 support | Lang Yu | 1 | -11/+21 | |
Add initial support for VPE 6.1.1. v2: squash in updates (Alex) Signed-off-by: Lang Yu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-03-07 | drm/amdgpu/vpe: don't emit cond exec command under collaborate mode | Lang Yu | 1 | -0/+3 | |
Not ready now. Signed-off-by: Lang Yu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-03-07 | drm/amdgpu/vpe: add collaborate mode support for VPE | Lang Yu | 1 | -0/+20 | |
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]> | |||||
2024-03-04 | drm/amdgpu: cleanup conditional execution | Christian König | 1 | -20/+6 | |
First of all calculating the number of dw to patch into a conditional execution is not something HW generation specific. This is just standard ring buffer calculations. While at it also reduce the BUG_ON() into WARN_ON(). Then instead of a random bit pattern use 0 as default value for the number of dw skipped, this way it's not mandatory any more to patch the conditional execution. And last make the address to check a parameter of the conditional execution instead of getting this from the ring. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-01-15 | drm/amdgpu: Fix unsigned comparison with less than zero in ↵ | Srinivasan Shanmugam | 1 | -8/+2 | |
vpe_u1_8_from_fraction() The variables 'numerator' and 'denominator', are unsigned 16-bit integer types, that can never be less than 0. Thus fixing the below: drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c:62 vpe_u1_8_from_fraction() warn: unsigned 'numerator' is never less than zero. drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c:63 vpe_u1_8_from_fraction() warn: unsigned 'denominator' is never less than zero. Cc: Peyton Lee <[email protected]> Cc: Lang Yu <[email protected]> Cc: Christian König <[email protected]> Cc: Alex Deucher <[email protected]> Signed-off-by: Srinivasan Shanmugam <[email protected]> Reviewed-by: Peyton Lee <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-12-14 | drm/amdgpu/vpe: enable vpe dpm | Peyton Lee | 1 | -0/+249 | |
enable vpe dpm Signed-off-by: Peyton Lee <[email protected]> Reviewed-by: Lang Yu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-10-13 | drm/amdgpu/vpe: fix insert_nop ops | Lang Yu | 1 | -4/+5 | |
Avoid infinite loop when count is 0. This is missed in rebase. Signed-off-by: Lang Yu <[email protected]> Reviewed-by: Yifan Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-10-13 | drm/amdgpu/vpe: align with mcbp changes | Lang Yu | 1 | -1/+1 | |
MCBP is decided by adev->gfx.mcbp now. This is missed in rebase. Signed-off-by: Lang Yu <[email protected]> Reviewed-by: Yifan Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-10-13 | drm/amdgpu/vpe: remove IB end boundary requirement | Lang Yu | 1 | -19/+1 | |
Remove IB end boundary requirement, VPE has no such limitions, use existing amdgpu_ring_generic_pad_ib() instead. This is missed in rebase. Signed-off-by: Lang Yu <[email protected]> Reviewed-by: Yifan Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-09-26 | drm/amdgpu/vpe: fix truncation warnings | Lang Yu | 1 | -4/+1 | |
Fix truncation warnings. Fixes: 9d4346bdbc64 ("drm/amdgpu: add VPE 6.1.0 support") Signed-off-by: Lang Yu <[email protected]> Reviewed-by: Yifan Zhang <[email protected]> Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/oe-kbuild-all/[email protected] Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-09-20 | drm/amdgpu: Use function for IP version check | Lijo Lazar | 1 | -1/+1 | |
Use an inline function for version check. Gives more flexibility to handle any format changes. Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-08-31 | drm/amdgpu: fix VPE front door loading issue | Lang Yu | 1 | -0/+38 | |
Implement proper front door loading for vpe 6.1. Signed-off-by: Lang Yu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-08-31 | drm/amdgpu: add PSP loading support for VPE | Lang Yu | 1 | -0/+16 | |
Add PSP loading support for Video Processing Engine. Signed-off-by: Lang Yu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2023-08-31 | drm/amdgpu: add VPE 6.1.0 support | Lang Yu | 1 | -0/+622 | |
Add skeleton driver code. (Ray) Add initial support for Video Processing Engine. (Lang) Signed-off-by: Huang Rui <[email protected]> Signed-off-by: Lang Yu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> |