You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the upstream development process for Tyr suggests that a
developer could open a merge request for review and discussion in
the panfrost-linux repository on Freedesktop GitLab.
While merge requests can still be a useful collaboration tool, other DRM
developers might not be reading those merge requests, so to be absolutely
clear, just direct new upstream contributions to the mailing lists.
Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
@@ -22,76 +18,42 @@ Tyr is developed both upstream and downstream.
22
18
23
19
The initial skeleton of the Tyr driver is now [upstream](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/tyr). Submissions against
24
20
the upstream Tyr driver should go to the [`dri-devel`](https://lore.kernel.org/dri-devel/)
25
-
and [`rust-for-linux`](https://lore.kernel.org/rust-for-linux/) mailing lists. If the
26
-
submission is larger and/or needs to be pre-reviewed, open a merge request
at [Collabora's blog](https://www.collabora.com/news-and-blog/). Anyone willing
48
-
to get acquainted with Mali's open source stack should refer to that, as we
49
-
will be covering the whole infrastructure from a simple Vulkan application to
50
-
the actual GPU hardware in Mali's CSF architecture. We will also cover the
51
-
various components needed to write a driver, as well as the status of the
52
-
abstractions needed to interact with them from Rust code.
53
-
54
-
As it currently stands, our downstream branch can be used to test the
55
-
abstractions that are still being developed. It makes sure that we can write a
56
-
functional driver with the abstractions that are currently being proposed.
57
32
58
-
## What is the current status of the driver?
59
33
60
-
The current upstream driver can power up the GPU and probe the device on an
61
-
RK3588 system-on-chip. This lets us read a few sections of ROM in the GPU,
62
-
which in turn lets us provide this information to userspace by means of a
63
-
`DRM_IOCTL_PANTHOR_DEV_QUERY` call.
34
+
## What is the current status of the driver?
64
35
65
-
This is all that can be done for now in upstream code, at least until the Micro
66
-
Controller Unit can be made to work.
36
+
The current upstream driver can probe and register an Arm Mali Valhall CSF GPU,
37
+
currently tested on RK3588 systems. During probe it enables the required clocks
38
+
and regulators, maps the GPU registers, issues a soft reset, powers on the L2
39
+
block, reads the GPU identification and feature registers, and exposes that
40
+
information to userspace through `DRM_IOCTL_PANTHOR_DEV_QUERY`.
67
41
68
-
Our downstream branch (`tyr-dev`) provides a full, working prototype that can run GNOME, Weston, and full-screen 3D games like SuperTuxKart: see [Racing karts on a Rust GPU kernel driver](https://www.collabora.com/news-and-blog/news-and-events/racing-karts-on-a-rust-gpu-kernel-driver.html).
42
+
The next major milestone is the Microcontroller Unit (MCU) firmware bring-up.
43
+
Until that is in place, the upstream driver is limited to device probing and
44
+
basic GPU information queries.
69
45
70
46
## Can I try it out?
71
47
72
-
Anyone with a RK3588 SoC can test Tyr, but the driver is not capable of
48
+
Anyone with an RK3588 SoC can test Tyr, but the driver is not capable of
73
49
replacing Panthor yet. A good candidate device is Radxa's
74
50
[ROCK 5B](https://radxa.com/products/rock5/5b/) Single Board Computer.
75
51
76
-
A good starting point is to use the Tyr driver to run the Panthor [IGT
52
+
A good starting point is to experiment with the Panthor [IGT
0 commit comments