Public bug reported:

This bug targets the linux-amd-embedded kernel (Ubuntu 26.04 Resolute,
7.0, amd64). linux-amd-embedded is not yet available in the archive, so
the bug is filed against the linux package for now.

[Impact]
The GP SoC MIPI capture support in the AMD ISP4 driver in linux-amd-embedded 
(LP: #2173857) has the following issues:
 * The ISP runs at the maximum clocks for every stream, regardless of the 
workload.
 * On PREEMPT_RT (amd-embedded-rt), the ISP child IRQs are handled in a context 
that can block RCU and make the system unresponsive during camera streaming.
 * After streaming, the ISP keeps an elevated clock floor, which prevents S0i3 
entry.
 * System suspend/resume handles only MIPI0, not all MIPI pipes.
 * Stopping one MIPI pipe or virtual channel corrupts the stream that still 
runs on the other pipe.

[Fix]
 * UBUNTU: SAUCE patches from the AMD patch set:
   - media/amd/isp4: implement multi-level ISP DPM
   - media/amd/isp4: Route ISP child IRQs through chained handlers.
   - drm/amd/amdgpu: drop clock floor on ISP idle to allow S0i3
   - media/amd/isp4: handle MIPI pipes across system suspend/resume
   - media/amd/isp4: Preview stop affecting other mipi interface

[Test Plan]
 * Build the linux-amd-embedded kernel for all flavours.
 * Boot the kernel in an LXD VM and load the amd_isp4_csi_capture module.

[Where problems could occur]
The changes affect the ISP4 clock management, interrupt handling, 
suspend/resume and the start/stop of the MIPI pipes, and the ISP clock 
programming in amdgpu. A regression could cause capture failures, corrupted 
frames, or problems with suspend/resume on systems with the AMD ISP4.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Resolute)
     Importance: High
     Assignee: Krystian Kaniewski (kkaniewski)
         Status: Confirmed

** Also affects: linux (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Resolute)
       Status: New => Confirmed

** Changed in: linux (Ubuntu Resolute)
   Importance: Undecided => High

** Changed in: linux (Ubuntu Resolute)
     Assignee: (unassigned) => Krystian Kaniewski (kkaniewski)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174582

Title:
  linux-amd-embedded: Update the AMD ISP4 MIPI capture driver

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2174582/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to