Repository navigation
Conversation
Import the MIT-licensed Project Cascadia SGX driver from 52ba1a0 with the A6 render-target, submission and Mesa 27 changes tested on iPhone5,2. Keep the Cascadia copyright notices. The optional sgx target registers apple-sgx with the DRM loader. The kernel firmware and the user-provided frame pack are external inputs. The uniform offset correction accounts for vec4 units when assigning align_offset. GLES2 framebuffer completeness rejects half-float RGB attachments as required by EXT_color_buffer_half_float. Assisted-by: LLM Signed-off-by: Berkay Kösebay <brkosebay@users.noreply.github.com>
brkosebay
force-pushed
the
pr/n42-sgx-gallium
branch
from
December 1, 2026 22:15
07c5be3 to
2b8b3d2
Compare
Contributor
|
Hi @brkosebay, thanks for bringing the SGX driver over. Using the 32-bit GPU at all is exciting. We reviewed it; since it's a draft, nothing is changed. Here's what it needs before it could ship:
There are two separate prerequisites for users: an armv7 Mesa build in packages, and linux#61 for the A6. Thanks again! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the optional Gallium
sgxdriver used by Labwc on iPhone5,2 (A6, SGX543MP3). The sources come from Project Cascadia at52ba1a0, with the A6 and Mesa 27 port. This branch is based on the exact Orchard Mesa release commit used by the packages repository. The hardware run used the same driver sources on Mesa 27 and reportedGPU-PROBE PASS renderer=PowerVR SGX543MP3at 640×1136.The DRM UAPI header matches OrchardLinux/linux#61 byte for byte. Enable the driver with
-Dgallium-drivers=sgx. Firmware for the kernel and the frame template pack for userspace are separate, locally derived inputs. The GLES2 framebuffer and NIR alignment corrections in this import also affect other drivers. This draft carries source code only.