Bug #2576

sys/vm/device_pager.c old_dev_pager_fault() dev_dmmap needs offset << PAGE_SHIFT

Added by davshao about 3 years ago. Updated about 3 years ago.

Status:ResolvedStart date:08/01/2013
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


commit f2c2051ee473577d22178d55f782ceebbd88d58f
Date: Mon Jul 29 22:39:56 2013 +0200

kernel: Port new device_pager interface from FreeBSD

should probably be amended in sys/vm/device_pager.c, function old_dev_pager_fault() to use

paddr = pmap_phys_address(
dev_dmmap(dev, offset << PAGE_SHIFT, prot));

similar to what had been used in the previous version of dev_pager_getpage().

Without this change, legacy drm systems running say a Radeon 4xxx graphics card failed to have dports Xorg start.


#1 Updated by ftigeot about 3 years ago

  • Description updated (diff)

Should be fixed by commit f3ec743d786818511ddac033ed6a4a6260344b66

#2 Updated by ftigeot about 3 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF