Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-10-22 | drm/amdgpu: Clean the functions pointer set as NULL | Sunil Khatri | 1 | -2/+0 | |
We dont need to set the functions to NULL which arent needed as global structure members are by default set to zero or NULL for pointers. Cc: Leo Liu <[email protected]> Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-10-07 | drm/amdgpu: update the handle ptr in hw_fini | Sunil Khatri | 1 | -3/+3 | |
Update the *handle to amdgpu_ip_block ptr for all functions pointers of hw_fini. Also update the ip_block ptr where ever needed as there were cyclic dependency of hw_fini on suspend and some followed clean up. Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-10-07 | drm/amdgpu: update the handle ptr in hw_init | Sunil Khatri | 1 | -5/+3 | |
Update the *handle to amdgpu_ip_block ptr for all functions pointers of hw_init. Also update the ip_block ptr where ever needed as there were cyclic dependency of hw_init on resume. v2: squash in isp fix Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-10-07 | drm/amdgpu: update the handle ptr in resume | Sunil Khatri | 1 | -2/+2 | |
Update the *handle to amdgpu_ip_block ptr for all functions pointers of resume. Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-10-07 | drm/amdgpu: update the handle ptr in suspend | Sunil Khatri | 1 | -2/+2 | |
Update the *handle to amdgpu_ip_block ptr for all functions pointers of suspend. Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-10-01 | drm/amdgpu: update the handle ptr in sw_fini | Sunil Khatri | 1 | -2/+2 | |
update the *handle to amdgpu_ip_block ptr for all functions pointers of sw_fini. Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-10-01 | drm/amdgpu: update the handle ptr in sw_init | Sunil Khatri | 1 | -2/+2 | |
update the *handle to amdgpu_ip_block ptr for all functions pointers of sw_init. Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-10-01 | drm/amdgpu: update the handle ptr in early_init | Sunil Khatri | 1 | -2/+2 | |
update the handle ptr to amdgpu_ip_block ptr for all functions pointers on early_init. Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-07-02 | drm/amdgpu: add VPE IP v6.1.3 support | Tim Huang | 1 | -0/+1 | |
This patch is to add VPE 6.1.3 support. Signed-off-by: Tim Huang <[email protected]> Reviewed-by: Yifan Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-06-14 | drm/amdgpu: refine vpe firmware loading | Yang Wang | 1 | -4/+2 | |
refine vpe firmware loading Signed-off-by: Yang Wang <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-05-02 | drm/amdgpu/vpe: fix vpe dpm clk ratio setup failed | Peyton Lee | 1 | -2/+11 | |
Some version of BIOS does not enable all clock levels, resulting in high level clock frequency of 0. The number of valid CLKs must be confirmed in advance. Signed-off-by: Peyton Lee <[email protected]> Reviewed-by: Lang Yu <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
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]> |