[Bug 279864] graphics/drm-61-kmod: doesn't compile on powerpc64

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279864

--- Comment #28 from Justin Hibbits <[email protected]> ---
(In reply to yzrh from comment #14)

Just a hunch, but does your GPU have a large amount of memory, and it's trying
to map the entire VRAM?

mmu_radix_mapdev_attr() looks like it needs some love.  There are a few issues
to resolve here:

* KVA is limited to 32GB currently.  You could try working around this by
changing VM_MAX_KERNEL_ADDRESS to something larger (0xc00801ffffffffff would
make it 2TB, I believe, which would match amd64).
* mmu_radix_mapdev_attr() requires devices to be above Maxmem, which may not
always be the case, because memory is very discontiguous, at least on my
POWER9, where memory attached to the second socket is at a much higher address,
leaving a giant hole in the middle.  This likely doesn't affect you, but we
need to address it at some point.

My guess right now is that you have a card with more than ~16GB RAM, and the
kernel isn't liking that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.