DragonFly BSD
DragonFly bugs List (threaded) for 2013-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[DragonFlyBSD - Bug #2576] sys/vm/device_pager.c old_dev_pager_fault() dev_dmmap needs offset << PAGE_SHIFT


From: David Shao via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 1 Aug 2013 12:26:31 -0700

Issue #2576 has been reported by davshao.

----------------------------------------
Bug #2576: sys/vm/device_pager.c old_dev_pager_fault() dev_dmmap needs offset << PAGE_SHIFT
http://bugs.dragonflybsd.org/issues/2576

Author: davshao
Status: New
Priority: Normal
Assignee: 
Category: 
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.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]