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

milk-v add amdgpu support #8

Open
wants to merge 1 commit into
base: k1
Choose a base branch
from

Conversation

VladimirKempik
Copy link

This enables amdgpu on milk-v
PCI-e window on the PCI-bridge needs slightly more than default 256 MB ( 258 MB) of prefetch memory, so the window in pcie config was increased, also a hack to allocate proper window in pci-setup was used, maybe it can be implemented without the hack with more accurate edits of pcie dts configs
Other changes is limiting dma to 32 bits and using writecombining for ttm.

checked with rx560 and rx5500, both work ( only Xorg, so gdm needs changes in config to disable wayland).
with some graphical glitches which I can't localize so far. The amount of glitches is very minimal when using weston

@VladimirKempik VladimirKempik changed the title milk-v a amdgpu support milk-v add amdgpu support Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants