Skip to content

milk-v add amdgpu support#8

Open
VladimirKempik wants to merge 1 commit into
spacemit-com:k1from
VladimirKempik:k1-amdgpu
Open

milk-v add amdgpu support#8
VladimirKempik wants to merge 1 commit into
spacemit-com:k1from
VladimirKempik:k1-amdgpu

Conversation

@VladimirKempik
Copy link
Copy Markdown

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
@VladimirKempik
Copy link
Copy Markdown
Author

VladimirKempik commented Jan 16, 2025

Need to add this to /etc/environment to get gnome-wayland (and gdm-wayland) working - MUTTER_DEBUG_FORCE_KMS_MODE=simple

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