<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/accel/amdxdna, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=master</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2026-03-27T02:45:54Z</updated>
<entry>
<title>Merge tag 'drm-misc-next-2026-03-26' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-next</title>
<updated>2026-03-27T02:45:54Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2026-03-27T02:45:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cf2d1b5b0158a42182b50e8c797ba171c995c726'/>
<id>urn:sha1:cf2d1b5b0158a42182b50e8c797ba171c995c726</id>
<content type='text'>
drm-misc-next for v7.1:

UAPI Changes:

amdxdna:
- support per-BO memory-usage queries

docs:
- Improve UAPI documentation

panthor:
- extend timestamp query with flags

Core Changes:

edid:
- provide enum drm_output_color_format; mass-convert drivers

gem-dma:
- use drm_dev_dma_dev() for DMA mappings
- set VM_DONTDUMP on mmap

mipi-dbi:
- drop simple-display; mass-convert drivers

prime:
- use drm_dev_dma_dev() for DMA mappings

ttm:
- improve handling of gfp_retry_mayfail

Driver Changes:

amdgpu:
- use atomic_create_state for private_obj

amdxdna:
- refactor GEM implementation
- fixes

bridge:
- provide clear-and-put helper for reliable cleanup
- analogix_dp: Use DP helpers for link training
- lontium-lt8713sx: Fix 64-bit division and Kconfig
- samsung-dsim: Use clear-and-put

imagination:
- improve power-off sequence
- support context-reset notification from firmware

komeda:
- support Arm China Linlon D6 plus DT bindings

mediatek:
- use drm_dev_dma_dev() for DMA mappings

panel:
- support Himax HX83121A plus DT bindings
- support JuTouch JT070TM041 plus DT bindings
- support Samsung S6E8FC0 plus DT bindings
- himax-hx83102c: support Samsung S6E8FC0 plus DT bindings; support backlight
- ili9806e: support Rocktech RK050HR345-CT106A plus DT bindings
- simple: support Tianma TM050RDH03 plus DT bindings

panthor:
- support various sources for timestamp queries
- fixes

omapdrm:
- use atomic_create_state for private_obj

rcar-du:
- fix suspend/resume wrt VSP interface
- fix leak of device_link
- clean up

sun4i:
- use drm_dev_dma_dev() for DMA mappings

tegra:
- use atomic_create_state for private_obj

xe:
- send 'none' recovery method for XE_WEDGED_MODE_UPON_ANY_HANG_NO_RESET

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;

From: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Link: https://patch.msgid.link/20260326151812.GA76082@linux.fritz.box
</content>
</entry>
<entry>
<title>BackMerge tag 'v7.0-rc4' into drm-next</title>
<updated>2026-03-25T23:41:26Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2026-03-25T23:41:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=13c072b8e91a5ccb5855ca1ba6fe3ea467dbf94d'/>
<id>urn:sha1:13c072b8e91a5ccb5855ca1ba6fe3ea467dbf94d</id>
<content type='text'>
Linux 7.0-rc4

Needed for rust tree.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>accel/amdxdna: Add per-process BO memory usage query support</title>
<updated>2026-03-25T18:41:24Z</updated>
<author>
<name>Max Zhen</name>
<email>max.zhen@amd.com</email>
</author>
<published>2026-03-24T16:31:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1f513a3ec3a945efb30c963681ac32ac7b99928b'/>
<id>urn:sha1:1f513a3ec3a945efb30c963681ac32ac7b99928b</id>
<content type='text'>
Add support for querying per-process buffer object (BO) memory
usage through the amdxdna GET_ARRAY UAPI.

Introduce a new query type, DRM_AMDXDNA_BO_USAGE, along with
struct amdxdna_drm_bo_usage to report BO memory usage statistics,
including heap, total, and internal usage.

Track BO memory usage on a per-client basis by maintaining counters
in GEM open/close and heap allocation/free paths. This ensures the
reported statistics reflect the current memory footprint of each
process.

Wire the new query into the GET_ARRAY implementation to expose
the usage information to userspace.

Link: https://github.com/amd/xdna-driver/commit/0546f2aaadbdacf1c3556410ecd71622044cd916
Signed-off-by: Max Zhen &lt;max.zhen@amd.com&gt;
Reviewed-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20260324163159.2425461-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Return ERR_PTR on dma_alloc_noncoherent failure</title>
<updated>2026-03-23T20:29:22Z</updated>
<author>
<name>Wendy Liang</name>
<email>wendy.liang@amd.com</email>
</author>
<published>2026-03-23T17:37:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=140cfee588af8656822b835ccd28515f0b8c77cf'/>
<id>urn:sha1:140cfee588af8656822b835ccd28515f0b8c77cf</id>
<content type='text'>
dma_alloc_noncoherent() returns NULL on failure, but callers of
aie2_alloc_msg_buffer() check for IS_ERR(). Return ERR_PTR(-ENOMEM)
instead of NULL to match the amdxdna_iommu_alloc() path and the
caller's error checking convention.

Fixes: ece3e8980907 ("accel/amdxdna: Allow forcing IOVA-based DMA via module parameter")
Signed-off-by: Wendy Liang &lt;wendy.liang@amd.com&gt;
Reviewed-by: Karol Wachowski &lt;karol.wachowski@linux.intel.com&gt;
Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20260323173719.2311474-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: fix missing newline in pr_err message</title>
<updated>2026-03-23T16:36:51Z</updated>
<author>
<name>haoyu.lu</name>
<email>hechushiguitu666@gmail.com</email>
</author>
<published>2026-03-23T03:49:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d1c73884858cb3ce2a0f761988a6f279bff32b91'/>
<id>urn:sha1:d1c73884858cb3ce2a0f761988a6f279bff32b91</id>
<content type='text'>
Add missing newline to pr_err message in amdxdna_mailbox.c.

Fixes: b87f920b9344 ("accel/amdxdna: Support hardware mailbox")
Signed-off-by: haoyu.lu &lt;hechushiguitu666@gmail.com&gt;
Reviewed-by: Lizhi.hou &lt;lizhi.hou@amd.com&gt;
Signed-off-by: Lizhi.hou &lt;lizhi.hou@amd.com&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20260323034933.216-1-hechushiguitu666@gmail.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Refactor GEM BO handling and add helper APIs for address retrieval</title>
<updated>2026-03-21T05:12:49Z</updated>
<author>
<name>Max Zhen</name>
<email>max.zhen@amd.com</email>
</author>
<published>2026-03-20T21:06:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d76856beb4a4a6c42244054cd780c00f2d33de4e'/>
<id>urn:sha1:d76856beb4a4a6c42244054cd780c00f2d33de4e</id>
<content type='text'>
Refactor amdxdna GEM buffer object (BO) handling to simplify address
management and unify BO type semantics.

Introduce helper APIs to retrieve commonly used BO addresses:
- User virtual address (UVA)
- Kernel virtual address (KVA)
- Device address (IOVA/PA)

These helpers centralize address lookup logic and avoid duplicating
BO-specific handling across submission and execution paths. This also
improves readability and reduces the risk of inconsistent address
handling in future changes.

As part of the refactor:
- Rename SHMEM BO type to SHARE to better reflect its usage.
- Merge CMD BO handling into SHARE, removing special-case logic for
  command buffers.
- Consolidate BO type handling paths to reduce code duplication and
  simplify maintenance.

No functional change is intended. The refactor prepares the driver for
future enhancements by providing a cleaner abstraction for BO address
management.

Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Signed-off-by: Max Zhen &lt;max.zhen@amd.com&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20260320210615.1973016-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Support retrieving hardware context debug information</title>
<updated>2026-03-17T21:08:57Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2026-03-17T04:49:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=25854131c04a5aa25a41cf527aab269aadb86699'/>
<id>urn:sha1:25854131c04a5aa25a41cf527aab269aadb86699</id>
<content type='text'>
The firmware implements the GET_APP_HEALTH command to collect debug
information for a specific hardware context.

When a command times out, the driver issues this command to collect the
relevant debug information. User space tools can also retrieve this
information through the hardware context query IOCTL.

Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20260317044906.1513133-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Add debug prints for command submission</title>
<updated>2026-03-16T19:53:22Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2026-03-16T17:56:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8ed8b02396172b137ca8c78c3cb999ddf4fb0bbf'/>
<id>urn:sha1:8ed8b02396172b137ca8c78c3cb999ddf4fb0bbf</id>
<content type='text'>
Add debug prints to help diagnose issues with incoming command submissions.

Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20260316175642.1451749-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Allow forcing IOVA-based DMA via module parameter</title>
<updated>2026-03-12T19:37:56Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2026-01-26T19:30:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ece3e8980907818c72dc9faa7bbaf40488ef1824'/>
<id>urn:sha1:ece3e8980907818c72dc9faa7bbaf40488ef1824</id>
<content type='text'>
The amdxdna driver normally performs DMA using userspace virtual address
plus PASID. For debugging and validation purposes, add a module parameter,
force_iova, to force DMA to go through IOMMU IOVA mapping.

When force_iova=1 is set, the driver will allocate and map DMA buffers
using IOVA.

Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://patch.msgid.link/20260126193001.1400545-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>Merge drm/drm-next into drm-misc-next</title>
<updated>2026-03-12T07:25:41Z</updated>
<author>
<name>Maxime Ripard</name>
<email>mripard@kernel.org</email>
</author>
<published>2026-03-12T07:25:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f08ceb71c5a5615577e7c841e1e00a89f495ab51'/>
<id>urn:sha1:f08ceb71c5a5615577e7c841e1e00a89f495ab51</id>
<content type='text'>
Biju Das needs a patch for rz-du merged in 7.0-rc3

Signed-off-by: Maxime Ripard &lt;mripard@kernel.org&gt;
</content>
</entry>
</feed>
