arm64: dts: enable Panthor GPU node on reComputer RK3588#2
Open
weicheng04 wants to merge 1 commit into
Open
Conversation
Switch the reComputer RK3588 DevKit GPU description from the vendor Mali kbase node to the Panthor DRM node. The Mali-G610 CSF GPU is exposed at the same fb000000 register range by both nodes, so only one driver path can own it. Disable the arm,mali-bifrost node and enable gpu_panthor with the existing GPU and GPU-memory supplies. This pairs with the Armbian Panthor/Mesa userspace change and fixes the 4K DP/HDMI hotplug path without relying on the closed Mali GBM stub that failed framebuffer allocation at 4K.
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.
What
Switch the reComputer RK3588 DevKit GPU device tree configuration from the vendor Mali kbase node to the Panthor DRM node.
This PR changes:
&gpustatus = "disabled"&gpu_panthorstatus = "okay"Why
reComputer RK3588 DevKit uses Mali-G610, which is a Valhall CSF GPU. The RK3588 device tree already has two GPU descriptions for the same hardware address:
gpu@fb000000for the vendor Mali kbase drivergpu-panthor@fb000000for the upstream Panthor DRM driverOnly one of these nodes can own the GPU. To use the Panthor/Mesa graphics stack, the vendor Mali node must be disabled and the Panthor node must be enabled.
This is part of the fix for the RK3588 4K DP/HDMI hotplug issue. Testing showed the kernel display pipeline can modeset 4K correctly, but the closed Mali userspace GBM path fails framebuffer creation during
Xorg hotplug with
drmModeAddFB2returning-ENOENT.Switching to Panthor + Mesa avoids the closed Mali GBM path while keeping GPU acceleration.
Related Armbian PR
This DTS change should be used together with the Armbian build change that enables the Panthor/Mesa userspace stack for reComputer RK3588 DevKit: