<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/drivers/media/platform/amd/isp4/isp4_interface.h, branch stable</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/drivers/media/platform/amd/isp4/isp4_interface.h?h=stable</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/drivers/media/platform/amd/isp4/isp4_interface.h?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2026-07-10T12:17:56Z</updated>
<entry>
<title>media: platform: amd: use refcount_t instead of atomic_t</title>
<updated>2026-07-10T12:17:56Z</updated>
<author>
<name>Ricardo Ribalda</name>
<email>ribalda@chromium.org</email>
</author>
<published>2026-06-29T11:30:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=0baf8f42110b7c361bb3f6a8a78c0958a23e4e32'/>
<id>urn:sha1:0baf8f42110b7c361bb3f6a8a78c0958a23e4e32</id>
<content type='text'>
We are using the refcnt variable for refcounting. Use the refcount_t
type instead, as it has support for saturation and underflow.

This also makes cocci happier, as it will fix the following warning:
./platform/amd/isp4/isp4_subdev.c:394:6-25: WARNING: atomic_dec_and_test variation before object free at line 395.

Fixes: 4c5feef6a62c ("media: platform: amd: Add isp4 fw and hw interface")
Signed-off-by: Ricardo Ribalda &lt;ribalda@chromium.org&gt;
Reviewed-by: Pratap Nirujogi &lt;pratap.nirujogi@amd.com&gt;
Reviewed-by: Bin Du &lt;bin.du@amd.com&gt;
Signed-off-by: Hans Verkuil &lt;hverkuil+cisco@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: platform: amd: Add isp4 fw and hw interface</title>
<updated>2026-05-06T10:48:09Z</updated>
<author>
<name>Bin Du</name>
<email>Bin.Du@amd.com</email>
</author>
<published>2026-05-06T09:32:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=4c5feef6a62c22b578344891232872056415a3dd'/>
<id>urn:sha1:4c5feef6a62c22b578344891232872056415a3dd</id>
<content type='text'>
ISP firmware controls ISP HW pipeline using dedicated embedded processor
called ccpu. The communication between ISP FW and driver is using commands
and response messages sent through the ring buffer. Command buffers support
either global setting that is not specific to the stream and support stream
specific parameters. Response buffers contain ISP FW notification
information such as frame buffer done and command done. IRQ is used for
receiving response buffer from ISP firmware, which is handled in the main
isp4 media device. ISP ccpu is booted up through the firmware loading
helper function prior to stream start. Memory used for command buffer and
response buffer needs to be allocated from amdgpu buffer manager because
isp4 is a child device of amdgpu.

Co-developed-by: Sultan Alsawaf &lt;sultan@kerneltoast.com&gt;
Signed-off-by: Sultan Alsawaf &lt;sultan@kerneltoast.com&gt;
Co-developed-by: Svetoslav Stoilov &lt;Svetoslav.Stoilov@amd.com&gt;
Signed-off-by: Svetoslav Stoilov &lt;Svetoslav.Stoilov@amd.com&gt;
Signed-off-by: Bin Du &lt;Bin.Du@amd.com&gt;
Reviewed-by: Sultan Alsawaf &lt;sultan@kerneltoast.com&gt;
Tested-by: Alexey Zagorodnikov &lt;xglooom@gmail.com&gt;
Tested-by: Kate Hsuan &lt;hpa@redhat.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
</content>
</entry>
</feed>
