Enabling PowerVR GPU Support on RISC-V TH1520 SoC Through Kernel Driver Development
By
michalwilczynsk
Sesame, salt, and substance. A flagship bake.
Summary
The article details the technical process of enabling PowerVR GPU support on RISC-V platforms, specifically the T-HEAD TH1520 SoC used in the Lichee Pi 4A. It explains how the author wrote missing kernel drivers to make the upstream drm/imagination driver usable on RISC-V, overcoming the historical reliance on out-of-tree vendor drivers. The content covers the technical challenges of hardware enablement, kernel plumbing, and 3D rendering capabilities on this emerging architecture.
Key quotes
· 4 pulledFor years, PowerVR GPUs ubiquitous in the embedded world relied entirely on out of tree vendor drivers (often named pvrsrvkm).
That changed when Imagination Technologies announced their commitment to an upstream, open source driver.
The resulting drm/imagination driver has been upstream for some time, but it wasn't usable on RISC-V platforms like the T-HEAD TH1520.
How I enabled the PowerVR GPU on the TH1520 SoC by writing the missing kernel drivers.
You might also wanna read
RFC Proposal: Multikernel Architecture Support for Linux Kernel
This is an RFC (Request for Comments) patch series proposing multikernel architecture support for the Linux kernel. The proposal introduces
Why small pull request policies can backfire on software quality
The article critiques a common software engineering policy that limits pull requests (PRs) to small sizes (e.g., 500 lines, few files). Whil
apenwarr.ca·2h agoHow Anthropic contains Claude's expanding access across its products
Anthropic describes how it has evolved its approach to granting Claude, its AI assistant, increasingly broad access to internal systems over
Testing Cursor's Jira integration: How ticket quality affects AI agent performance
Cursor launched a Jira integration that lets developers assign tickets directly to an AI agent, eliminating context switching. The author te
bit.ly·3h agoNetflix engineer's open-source tool cuts AI token usage by up to 90%
Netflix senior engineer Tejas Chopra created software called "Project Headroom" that prunes redundant tokens from AI agent instructions befo
Anthropic Releases Free Security Plugin for Claude Code Terminal to Detect Vulnerabilities
Anthropic has released a free security-guidance plugin for its Claude Code terminal tool that autonomously reviews code edits, model outputs
cybersecuritynews.com·4h ago