<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/accel/ivpu/Makefile, branch linux-6.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-09-27T11:11:51Z</updated>
<entry>
<title>accel/ivpu: Compile ivpu_debugfs.c conditionally</title>
<updated>2023-09-27T11:11:51Z</updated>
<author>
<name>Stanislaw Gruszka</name>
</author>
<published>2023-09-07T07:26:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d776f654d08948639d445a750839612977e78a49'/>
<id>urn:sha1:d776f654d08948639d445a750839612977e78a49</id>
<content type='text'>
Only compile ivpu_debugfs.c file with CONFIG_DEBUG_FS.

Reviewed-by: Jeffrey Hugo &lt;quic_jhugo@quicinc.com&gt;
Signed-off-by: Stanislaw Gruszka &lt;stanislaw.gruszka@linux.intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230907072610.433497-2-stanislaw.gruszka@linux.intel.com
</content>
</entry>
<entry>
<title>accel/ivpu: Add initial support for VPU 4</title>
<updated>2023-08-09T11:55:21Z</updated>
<author>
<name>Stanislaw Gruszka</name>
</author>
<published>2023-07-31T16:12:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79cdc56c4a542526d5b4e255d297ab842887e02b'/>
<id>urn:sha1:79cdc56c4a542526d5b4e255d297ab842887e02b</id>
<content type='text'>
Add support VPU 4 - new generation of VPU IP with various
hardware design improvements. From driver point of view, it differs
in register set, initialization process and MMU memory ranges.

Co-developed-by: Andrzej Kacprowski &lt;andrzej.kacprowski@linux.intel.com&gt;
Signed-off-by: Andrzej Kacprowski &lt;andrzej.kacprowski@linux.intel.com&gt;
Co-developed-by: Krystian Pradzynski &lt;krystian.pradzynski@linux.intel.com&gt;
Signed-off-by: Krystian Pradzynski &lt;krystian.pradzynski@linux.intel.com&gt;
Co-developed-by: Karol Wachowski &lt;karol.wachowski@linux.intel.com&gt;
Signed-off-by: Karol Wachowski &lt;karol.wachowski@linux.intel.com&gt;
Reviewed-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;
Signed-off-by: Stanislaw Gruszka &lt;stanislaw.gruszka@linux.intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230731161258.2987564-7-stanislaw.gruszka@linux.intel.com
</content>
</entry>
<entry>
<title>accel/ivpu: Rename sources to use generation based names</title>
<updated>2023-08-09T11:39:52Z</updated>
<author>
<name>Jacek Lawrynowicz</name>
</author>
<published>2023-07-31T16:12:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=864a00b8f085e2ddf690f6b3bf289b5774d74a99'/>
<id>urn:sha1:864a00b8f085e2ddf690f6b3bf289b5774d74a99</id>
<content type='text'>
Given that VPU generation can be used by multiple platforms, driver should
use VPU IP generation in names instead of a platform.

Change naming for sources files.

Use 37XX format, where:
  3 - major VPU IP generation version
  7 - minor VPU IP generation version
  XX - postfix indicating this is an architecture and not marketing name

Signed-off-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;
Reviewed-by: Stanislaw Gruszka &lt;stanislaw.gruszka@linux.intel.com&gt;
Signed-off-by: Stanislaw Gruszka &lt;stanislaw.gruszka@linux.intel.com&gt;
Reviewed-by: Jeffrey Hugo &lt;quic_jhugo@quicinc.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230731161258.2987564-2-stanislaw.gruszka@linux.intel.com
</content>
</entry>
<entry>
<title>accel/ivpu: Add firmware tracing support</title>
<updated>2023-07-07T07:33:20Z</updated>
<author>
<name>Stanislaw Gruszka</name>
</author>
<published>2023-05-24T07:48:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d4e4257afa6ed5205eda993180401fc2c20e4b60'/>
<id>urn:sha1:d4e4257afa6ed5205eda993180401fc2c20e4b60</id>
<content type='text'>
Add support for firmware tracing and logging via debugfs.

Signed-off-by: Stanislaw Gruszka &lt;stanislaw.gruszka@linux.intel.com&gt;
Reviewed-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230524074847.866711-3-stanislaw.gruszka@linux.intel.com
</content>
</entry>
<entry>
<title>accel/ivpu: Initial debugfs support</title>
<updated>2023-07-07T07:33:13Z</updated>
<author>
<name>Stanislaw Gruszka</name>
</author>
<published>2023-05-24T07:48:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=edde4caec1921c7997b8a4d91f14db0365275353'/>
<id>urn:sha1:edde4caec1921c7997b8a4d91f14db0365275353</id>
<content type='text'>
Add initial debugfs support. Provide below functionality:

- print buffer objects
- print latest boot mode
- trigger vpu engine reset

Signed-off-by: Stanislaw Gruszka &lt;stanislaw.gruszka@linux.intel.com&gt;
Reviewed-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230524074847.866711-2-stanislaw.gruszka@linux.intel.com
</content>
</entry>
<entry>
<title>accel/ivpu: Add PM support</title>
<updated>2023-01-19T10:12:08Z</updated>
<author>
<name>Jacek Lawrynowicz</name>
</author>
<published>2023-01-17T09:27:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=852be13f3bd32c1eab808840cfac41b1fea25991'/>
<id>urn:sha1:852be13f3bd32c1eab808840cfac41b1fea25991</id>
<content type='text'>
  - Implement cold and warm firmware boot flows
  - Add hang recovery support
  - Add runtime power management support

Co-developed-by: Krystian Pradzynski &lt;krystian.pradzynski@linux.intel.com&gt;
Signed-off-by: Krystian Pradzynski &lt;krystian.pradzynski@linux.intel.com&gt;
Signed-off-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;
Reviewed-by: Jeffrey Hugo &lt;quic_jhugo@quicinc.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230117092723.60441-8-jacek.lawrynowicz@linux.intel.com
</content>
</entry>
<entry>
<title>accel/ivpu: Add command buffer submission logic</title>
<updated>2023-01-19T10:12:00Z</updated>
<author>
<name>Jacek Lawrynowicz</name>
</author>
<published>2023-01-17T09:27:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd7272215c44676dba236491941c6c406701cc5e'/>
<id>urn:sha1:cd7272215c44676dba236491941c6c406701cc5e</id>
<content type='text'>
Each of the user contexts has two command queues, one for compute engine
and one for the copy engine. Command queues are allocated and registered
in the device when the first job (command buffer) is submitted from
the user space to the VPU device. The userspace provides a list of
GEM buffer object handles to submit to the VPU, the driver resolves
buffer handles, pins physical memory if needed, increments ref count
for each buffer and stores pointers to buffer objects in
the ivpu_job objects that track jobs submitted to the device.
The VPU signals job completion with an asynchronous message that
contains the job id passed to firmware when the job was submitted.

Currently, the driver supports simple scheduling logic
where jobs submitted from user space are immediately pushed
to the VPU device command queues. In the future, it will be
extended to use hardware base scheduling and/or drm_sched.

Co-developed-by: Andrzej Kacprowski &lt;andrzej.kacprowski@linux.intel.com&gt;
Signed-off-by: Andrzej Kacprowski &lt;andrzej.kacprowski@linux.intel.com&gt;
Signed-off-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;
Reviewed-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
Reviewed-by: Jeffrey Hugo &lt;quic_jhugo@quicinc.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230117092723.60441-7-jacek.lawrynowicz@linux.intel.com
</content>
</entry>
<entry>
<title>accel/ivpu: Implement firmware parsing and booting</title>
<updated>2023-01-19T10:11:53Z</updated>
<author>
<name>Jacek Lawrynowicz</name>
</author>
<published>2023-01-17T09:27:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02d5b0aacd0590dbaf25f35834631e5bc11002e3'/>
<id>urn:sha1:02d5b0aacd0590dbaf25f35834631e5bc11002e3</id>
<content type='text'>
Read, parse and boot VPU firmware image.

Co-developed-by: Andrzej Kacprowski &lt;andrzej.kacprowski@linux.intel.com&gt;
Signed-off-by: Andrzej Kacprowski &lt;andrzej.kacprowski@linux.intel.com&gt;
Co-developed-by: Krystian Pradzynski &lt;krystian.pradzynski@linux.intel.com&gt;
Signed-off-by: Krystian Pradzynski &lt;krystian.pradzynski@linux.intel.com&gt;
Signed-off-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;
Reviewed-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
Reviewed-by: Jeffrey Hugo &lt;quic_jhugo@quicinc.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230117092723.60441-6-jacek.lawrynowicz@linux.intel.com
</content>
</entry>
<entry>
<title>accel/ivpu: Add IPC driver and JSM messages</title>
<updated>2023-01-19T10:11:45Z</updated>
<author>
<name>Jacek Lawrynowicz</name>
</author>
<published>2023-01-17T09:27:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5d7422cfb498bf25c4a9ea6b9d82253cb5236364'/>
<id>urn:sha1:5d7422cfb498bf25c4a9ea6b9d82253cb5236364</id>
<content type='text'>
The IPC driver is used to send and receive messages to/from firmware
running on the VPU.

The only supported IPC message format is Job Submission Model (JSM)
defined in vpu_jsm_api.h header.

Co-developed-by: Andrzej Kacprowski &lt;andrzej.kacprowski@linux.intel.com&gt;
Signed-off-by: Andrzej Kacprowski &lt;andrzej.kacprowski@linux.intel.com&gt;
Co-developed-by: Krystian Pradzynski &lt;krystian.pradzynski@linux.intel.com&gt;
Signed-off-by: Krystian Pradzynski &lt;krystian.pradzynski@linux.intel.com&gt;
Signed-off-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;
Reviewed-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
Reviewed-by: Jeffrey Hugo &lt;quic_jhugo@quicinc.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230117092723.60441-5-jacek.lawrynowicz@linux.intel.com
</content>
</entry>
<entry>
<title>accel/ivpu: Add GEM buffer object management</title>
<updated>2023-01-19T10:11:34Z</updated>
<author>
<name>Jacek Lawrynowicz</name>
</author>
<published>2023-01-17T09:27:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=647371a6609ddf8700fe151af72e32daebb9baa7'/>
<id>urn:sha1:647371a6609ddf8700fe151af72e32daebb9baa7</id>
<content type='text'>
Adds four types of GEM-based BOs for the VPU:
  - shmem
  - internal
  - prime

All types are implemented as struct ivpu_bo, based on
struct drm_gem_object. VPU address is allocated when buffer is created
except for imported prime buffers that allocate it in BO_INFO IOCTL due
to missing file_priv arg in gem_prime_import callback.
Internal buffers are pinned on creation, the rest of buffers types
can be pinned on demand (in SUBMIT IOCTL).
Buffer VPU address, allocated pages and mappings are released when the
buffer is destroyed.
Eviction mechanism is planned for future versions.

Add two new IOCTLs: BO_CREATE, BO_INFO

Signed-off-by: Jacek Lawrynowicz &lt;jacek.lawrynowicz@linux.intel.com&gt;
Reviewed-by: Oded Gabbay &lt;ogabbay@kernel.org&gt;
Reviewed-by: Jeffrey Hugo &lt;quic_jhugo@quicinc.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20230117092723.60441-4-jacek.lawrynowicz@linux.intel.com
</content>
</entry>
</feed>
