<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/include/uapi/drm/amdxdna_accel.h, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2025-11-05T16:56:28Z</updated>
<entry>
<title>accel/amdxdna: Support preemption requests</title>
<updated>2025-11-05T16:56:28Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2025-11-04T18:53:39Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3a0ff7b98af4a5de1b995dfb57e65843f9b7b628'/>
<id>urn:sha1:3a0ff7b98af4a5de1b995dfb57e65843f9b7b628</id>
<content type='text'>
The driver checks the firmware version during initialization.If preemption
is supported, the driver configures preemption accordingly and handles
userspace preemption requests. Otherwise, the driver returns an error for
userspace preemption requests.

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/20251104185340.897560-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Add IOCTL parameter for telemetry data</title>
<updated>2025-11-04T17:04:21Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2025-11-04T06:25:45Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e568dc3e625d818f199bd085005213cce3271453'/>
<id>urn:sha1:e568dc3e625d818f199bd085005213cce3271453</id>
<content type='text'>
Extend DRM_IOCTL_AMDXDNA_GET_INFO to include additional parameters
that allow collection of telemetry data.

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/20251104062546.833771-3-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Add IOCTL parameter for resource data</title>
<updated>2025-11-04T17:03:11Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2025-11-04T06:25:44Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1556c170d2f78344a9eee567fbfcee4651689813'/>
<id>urn:sha1:1556c170d2f78344a9eee567fbfcee4651689813</id>
<content type='text'>
Extend DRM_IOCTL_AMDXDNA_GET_INFO to include additional parameters
that allow collection of resource data.

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/20251104062546.833771-2-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Support getting last hardware error</title>
<updated>2025-10-16T16:32:48Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2025-10-14T23:41:19Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b291e4f1a4951204ce858cd01801291d34962a33'/>
<id>urn:sha1:b291e4f1a4951204ce858cd01801291d34962a33</id>
<content type='text'>
Add new parameter DRM_AMDXDNA_HW_LAST_ASYNC_ERR to get array IOCTL. When
hardware reports an error, the driver save the error information and
timestamp. This new get array parameter retrieves the last error.

Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://lore.kernel.org/r/20251014234119.628453-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Add ioctl DRM_IOCTL_AMDXDNA_GET_ARRAY</title>
<updated>2025-09-04T15:26:43Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2025-09-03T05:34:02Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=2f509fe6a42cda845890273fe759fb7ba9edad97'/>
<id>urn:sha1:2f509fe6a42cda845890273fe759fb7ba9edad97</id>
<content type='text'>
Add interface for applications to get information array. The application
provides a buffer pointer along with information type, maximum number of
entries and maximum size of each entry. The buffer may also contain match
conditions based on the information type. After the ioctl completes, the
actual number of entries and entry size are returned. (see [1], used by
driver runtime library)

[1] https://github.com/amd/xdna-driver/blob/main/src/shim/host/platform_host.cpp#L337

Reviewed-by: Mario Limonciello (AMD) &lt;superm1@kernel.org&gt;
Reviewed-by: Maciej Falkowski &lt;maciej.falkowski@linux.intel.com&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://lore.kernel.org/r/20250903053402.2103196-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Support user space allocated buffer</title>
<updated>2025-07-22T15:34:29Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2025-07-16T16:44:14Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=bd72d4acda1069579b35123e3cc0b21ec1193a21'/>
<id>urn:sha1:bd72d4acda1069579b35123e3cc0b21ec1193a21</id>
<content type='text'>
Enhance DRM_IOCTL_AMDXDNA_CREATE_BO to accept user space allocated
buffer pointer. The buffer pages will be pinned in memory. Unless
the CAP_IPC_LOCK is enabled for the application process, the total
pinned memory can not beyond rlimit_memlock.

Reviewed-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Link: https://lore.kernel.org/r/20250716164414.112091-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Remove DRM_AMDXDNA_HWCTX_CONFIG_NUM</title>
<updated>2024-12-17T18:10:07Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2024-12-17T16:54:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6a8d72b80807ad45229c0f5a17e3be843b15a703'/>
<id>urn:sha1:6a8d72b80807ad45229c0f5a17e3be843b15a703</id>
<content type='text'>
Defining a number of enum elements in uapi header is meaningless. It will
not be used as expected and can potentially lead to incompatible issue
between user space application and driver.

Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20241217165446.2607585-2-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Add zero check for pad in ioctl input structures</title>
<updated>2024-12-17T18:10:05Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2024-12-17T16:54:45Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=03c318a0af96f1292e0e6fd0da92facb4f3a5c31'/>
<id>urn:sha1:03c318a0af96f1292e0e6fd0da92facb4f3a5c31</id>
<content type='text'>
For input ioctl structures, it is better to check if the pad is zero.
Thus, the pad bytes might be usable in the future.

Suggested-by: Jeffrey Hugo &lt;quic_jhugo@quicinc.com&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20241217165446.2607585-1-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Enhance power management settings</title>
<updated>2024-12-16T21:50:32Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2024-12-13T23:29:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f4d7b8a6bc8c92963876e8e1dbf73b4728445aa2'/>
<id>urn:sha1:f4d7b8a6bc8c92963876e8e1dbf73b4728445aa2</id>
<content type='text'>
Add SET_STATE ioctl to configure device power mode for aie2 device.
Three modes are supported initially.

POWER_MODE_DEFAULT: Enable clock gating and set DPM (Dynamic Power
Management) level to value which has been set by resource solver or
maximum DPM level the device supports.

POWER_MODE_HIGH: Enable clock gating and set DPM level to maximum DPM
level the device supports.

POWER_MODE_TURBO: Disable clock gating and set DPM level to maximum DPM
level the device supports.

Disabling clock gating means all clocks always run on full speed. And
the different clock frequency are used based on DPM level been set.
Initially, the driver set the power mode to default mode.

Co-developed-by: Narendra Gutta &lt;VenkataNarendraKumar.Gutta@amd.com&gt;
Signed-off-by: Narendra Gutta &lt;VenkataNarendraKumar.Gutta@amd.com&gt;
Co-developed-by: George Yang &lt;George.Yang@amd.com&gt;
Signed-off-by: George Yang &lt;George.Yang@amd.com&gt;
Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Signed-off-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20241213232933.1545388-4-lizhi.hou@amd.com
</content>
</entry>
<entry>
<title>accel/amdxdna: Add query firmware version</title>
<updated>2024-12-13T16:49:20Z</updated>
<author>
<name>Lizhi Hou</name>
<email>lizhi.hou@amd.com</email>
</author>
<published>2024-12-06T21:59:58Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c1e9a0ff94b801e946f30c4aba29df247475d825'/>
<id>urn:sha1:c1e9a0ff94b801e946f30c4aba29df247475d825</id>
<content type='text'>
Enhance GET_INFO ioctl to support retrieving firmware version.

Signed-off-by: Lizhi Hou &lt;lizhi.hou@amd.com&gt;
Reviewed-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Reviewed-by: Jeffrey Hugo &lt;quic_jhugo@quicinc.com&gt;
Signed-off-by: Jeffrey Hugo &lt;quic_jhugo@quicinc.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20241206220001.164049-6-lizhi.hou@amd.com
</content>
</entry>
</feed>
