Summary: | graphics/libdrm: Enable radeon on RISC-V | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Robert Clausecker <fuz> | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Many People | CC: | manu, riscv, x11 | ||||||
Priority: | --- | Keywords: | feature, needs-qa | ||||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(x11) koobs: merge-quarterly? |
||||||
Hardware: | riscv | ||||||||
OS: | Any | ||||||||
See Also: |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259160 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259159 |
||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 259159 | ||||||||
Attachments: |
|
I would prefer to have another elif for riscv64 arch, makefile will be more clear. Created attachment 228922 [details]
graphics/libdrm: enable RADEON on riscv64
Made a new case for ${ARCH} == riscv64.
Not tested due to a temporary lack of hardware (but should work the same way as before).
(In reply to Emmanuel Vadot from comment #1) Do you approve of the revised patch? Looks good, will take care of it today. (In reply to Emmanuel Vadot from comment #4) Any progress on this one? A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=673b15bdeeab9bcc8167fb987b91ce3d54f56b2a commit 673b15bdeeab9bcc8167fb987b91ce3d54f56b2a Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2021-11-19 10:05:22 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2021-11-19 10:07:18 +0000 graphics/libdrm: enable RADEON on riscv64 PR: 259158 graphics/libdrm/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) |
Created attachment 228682 [details] graphics/libdrm: enable RADEON on riscv64. With the attached patch I was able to build a radeon-enabled version of graphics/libdrm on a patched riscv64 FreeBSD 13-STABLE with a hand compiled drm kernel module. I am unable to check if this patch works with vanilla 13-STABLE. Patch needs QA and further testing.