Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bananapro dts for using lima driver #3117

Merged
merged 1 commit into from Sep 2, 2021

Conversation

zerkalica
Copy link
Contributor

Fix Banana pro dts bug with lima driver, where no /dev/dri/card1 and no hardware acceleration.
Some hdmi-related entries ported to sun7i-a20-bananapro.dts from sun7i-a20-bananapi.dts, where lima drivers works.

Context: https://forum.armbian.com/topic/14180-bananapro-lima-driver-problems/

How Has This Been Tested?

Install armbian ubuntu hirsute (needed mesa >= 21.0.1), sway, xwayland
Apply patches to dts and Install linux-dtb-edge-sunxi_21.08.0-trunk_armhf.deb
start sway and DISPLAY=:0 glxinfo | grep renderer shows Mali400, glxgears 20 fps (without lima was 10)

Or install xserver-xorg-core >= 1.20.13 (ubuntu impish, arch linux) and run glxinfo | grep renderer

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants