Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-08-16 | drm/amdgpu: add print support for vcn_v2_5 ip dump | Sunil Khatri | 1 | -1/+33 | |
Add support for logging the registers in devcoredump buffer for vcn_v2_5. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add vcn_v2_5 ip dump support | Sunil Khatri | 1 | -1/+79 | |
Add support of vcn ip dump in the devcoredump for vcn_v2_5. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add print support for vcn_v2_0 ip dump | Sunil Khatri | 1 | -1/+33 | |
Add support for logging the registers in devcoredump buffer for vcn_v2_0. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add vcn_v2_0 ip dump support | Sunil Khatri | 1 | -1/+78 | |
Add support of vcn ip dump in the devcoredump for vcn_v2_0. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add print support for vcn_v1_0 ip dump | Sunil Khatri | 1 | -1/+33 | |
Add support for logging the registers in devcoredump buffer for vcn_v1_0. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add vcn_v1_0 ip dump support | Sunil Khatri | 1 | -1/+77 | |
Add support of vcn ip dump in the devcoredump for vcn_v1_0. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add print support for vcn_v4_0_5 ip dump | Sunil Khatri | 1 | -1/+33 | |
Add support for logging the registers in devcoredump buffer for vcn_v4_0_5. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add print support for vcn_v4_0 ip dump | Sunil Khatri | 1 | -1/+33 | |
Add support for logging the registers in devcoredump buffer for vcn_v4_0. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add print support for vcn_v4_0_3 ip dump | Sunil Khatri | 1 | -1/+33 | |
Add support for logging the registers in devcoredump buffer for vcn_v4_0_3. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add vcn_v4_0_5 ip dump support | Sunil Khatri | 1 | -1/+78 | |
Add support of vcn ip dump in the devcoredump for vcn_v4_0_5. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add vcn_v4_0 ip dump support | Sunil Khatri | 1 | -1/+79 | |
Add support of vcn ip dump in the devcoredump for vcn_v4_0. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add vcn_v4_0_3 ip dump support | Sunil Khatri | 1 | -1/+80 | |
Add support of vcn ip dump in the devcoredump for vcn_v4_0_3. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add print support for vcn_v5_0 ip dump | Sunil Khatri | 1 | -1/+33 | |
Add support for logging the registers in devcoredump buffer for vcn_v5_0. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/mes12: add API for user queue reset | Alex Deucher | 1 | -0/+27 | |
Add API for resetting user queues. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/mes11: add API for user queue reset | Alex Deucher | 1 | -0/+21 | |
Add API for resetting user queues. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/mes: add API for user queue reset | Alex Deucher | 2 | -0/+52 | |
Add API for resetting user queues. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx11: export gfx_v11_0_request_gfx_index_mutex() | Alex Deucher | 2 | -2/+5 | |
It will be used by the queue reset code. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx11: add a mutex for the gfx semaphore | Alex Deucher | 3 | -3/+10 | |
This will be used in more places in the future so add a mutex. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx11: enter safe mode before touching CP_INT_CNTL | Alex Deucher | 1 | -2/+2 | |
Need to enter safe mode before touching GC MMIO. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx7: add ring reset callback for gfx | Alex Deucher | 2 | -1/+76 | |
Add ring reset callback for gfx. v2: fix operator precedence (kernel test robot) Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx8: add ring reset callback for gfx | Alex Deucher | 2 | -1/+75 | |
Add ring reset callback for gfx. v2: fix operator precedence (kernel test robot) Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add vcn_v5_0 ip dump support | Sunil Khatri | 1 | -1/+75 | |
Add support of vcn ip dump in the devcoredump for vcn_v5_0. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add print support for vcn_v3_0 ip dump | Sunil Khatri | 1 | -1/+34 | |
Add support for logging the registers in devcoredump buffer for vcn_v3_0. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add vcn_v3_0 ip dump support | Sunil Khatri | 1 | -1/+77 | |
Add support of vcn ip dump in the devcoredump for vcn_v3_0. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add vcn ip dump ptr in vcn global struct | Sunil Khatri | 1 | -0/+3 | |
Add pointer to the vcn ip dump in the vcn global structure to be accessible for all vcn version via global adev. Signed-off-by: Sunil Khatri <[email protected]> Acked-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amd: Remove unused declarations | Zhang Zekun | 2 | -9/+0 | |
amdgpu_gart_table_vram_pin() and amdgpu_gart_table_vram_unpin() has been removed since commit 575e55ee4fbc ("drm/amdgpu: recover gart table at resume") remain the declarations untouched in the header files. Besides, amdgpu_dm_display_resume() has also beed removed since commit a80aa93de1a0 ("drm/amd/display: Unify dm resume sequence into a single call"). So, let's remove this unused declarations. Signed-off-by: Zhang Zekun <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: fixing rlc firmware loading failure issue | Yang Wang | 1 | -2/+3 | |
Skip rlc firmware validation to ignore firmware header size mismatch issues. This restores the workaround added in commit 849e133c973c ("drm/amdgpu: Fix the null pointer when load rlc firmware") Fixes: 3af2c80ae2f5 ("drm/amdgpu: refine gfx10 firmware loading") Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3551 Signed-off-by: Yang Wang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: remove ME0 registers from mi300 dump | Sunil Khatri | 1 | -37/+0 | |
Remove ME0 registers from MI300 gfx_9_4_3 ipdump MI300 does not have gfx ME and hence those register are just empty one and could be dropped. Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx9: use rlc safe mode for soft recovery | Alex Deucher | 1 | -0/+2 | |
Protect the MMIO access with safe mode. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx9.4.3: use rlc safe mode for soft recovery | Alex Deucher | 1 | -0/+2 | |
Protect the MMIO access with safe mode. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx9.4.3: use proper rlc safe mode helpers | Alex Deucher | 1 | -4/+4 | |
Rather than open coding it for the queue reset. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx9: use proper rlc safe mode helpers | Alex Deucher | 1 | -4/+4 | |
Rather than open coding it for the queue reset. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx9: add ring reset callback for gfx | Alex Deucher | 1 | -0/+46 | |
Add ring reset callback for gfx. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx9: per queue reset only on bare metal | Alex Deucher | 2 | -0/+6 | |
It's not supported under SR-IOV at the moment. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx9.4.3: implement reset_hw_queue for gfx9.4.3 | Jiadong Zhu | 1 | -0/+36 | |
Using mmio to do queue reset. Enter safe mode before writing mmio registers. v2: set register instance offset according to xcc id. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Jiadong Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx9: implement reset_hw_queue for gfx9 | Jiadong Zhu | 1 | -0/+37 | |
Using mmio to do queue reset. Enter safe mode when writing registers. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Jiadong Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx: add a new kiq_pm4_funcs callback for reset_hw_queue | Jiadong Zhu | 1 | -0/+4 | |
Add reset_hw_queue in kiq_pm4_funcs callbacks. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Jiadong Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx_9.4.3: wait for reset done before remap | Jiadong Zhu | 1 | -6/+33 | |
There is a racing condition that cp firmware modifies MQD in reset sequence after driver updates it for remapping. We have to wait till CP_HQD_ACTIVE becoming false then remap the queue. v2: fix KIQ locking (Alex) v3: fix KIQ locking harder Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Jiadong Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx9.4.3: remap queue after reset successfully | Jiadong Zhu | 1 | -9/+27 | |
Kiq command unmap_queues only does the dequeueing action. We have to map the queue back with clean mqd. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Jiadong Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx9.4.3: add ring reset callback | Alex Deucher | 1 | -0/+38 | |
Add ring reset callback for compute. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx9: wait for reset done before remap | Jiadong Zhu | 1 | -5/+31 | |
There is a racing condition that cp firmware modifies MQD in reset sequence after driver updates it for remapping. We have to wait till CP_HQD_ACTIVE becoming false then remap the queue. v2: fix KIQ locking (Alex) v3: fix KIQ locking harder Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Jiadong Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx9: remap queue after reset successfully | Jiadong Zhu | 1 | -9/+27 | |
Kiq command unmap_queues only does the dequeueing action. We have to map the queue back with clean mqd. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Jiadong Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu/gfx9: add ring reset callback | Alex Deucher | 1 | -0/+38 | |
Add ring reset callback for compute. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: increase the reset counter for the queue reset | Prike Liang | 1 | -0/+1 | |
Update the reset counter for the amdgpu_cs_query_reset_state() Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Prike Liang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add per ring reset support (v5) | Alex Deucher | 1 | -0/+19 | |
If a specific job is hung, try and reset just the ring associated with the job. v2: move to amdgpu_job.c v3: fix drm_sched_stop() handling when ring reset fails v4: drop unnecessary amdgpu_fence_driver_clear_job_fences() and drm_sched_increase_karma() v5: rework sched_stop handling Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add new ring reset callback | Alex Deucher | 1 | -0/+2 | |
Use this to reset just a single ring. Acked-by: Vitaly Prosyak <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: Return earlier in amdgpu_sw_ring_ib_end if mcbp is off | Soham Dandapat | 1 | -1/+1 | |
As we don't trigger preemption is sw ring muxer when mcbp is disabled,so return earlier in amdgpu_sw_ring_ib_end function if mcbp is disabled ,not required to call amdgpu_ring_mux_end_ib Signed-off-by: Soham Dandapat <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add cp queue registers print for gfx9_4_3 | Sunil Khatri | 1 | -2/+40 | |
Add gfx9_4_3 print support of CP queue registers for all queues to be used by devcoredump. Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: add cp queue registers for gfx9_4_3 ipdump | Sunil Khatri | 1 | -3/+95 | |
Add gfx9 support of CP queue registers for all queues to be used by devcoredump. Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2024-08-16 | drm/amdgpu: Use backlight power constants | Thomas Zimmermann | 1 | -1/+1 | |
Replace FB_BLANK_ constants with their counterparts from the backlight subsystem. The values are identical, so there's no change in functionality or semantics. Signed-off-by: Thomas Zimmermann <[email protected]> Cc: Alex Deucher <[email protected]> Cc: "Christian König" <[email protected]> Cc: Xinhui Pan <[email protected]> Acked-by: Alex Deucher <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] |