Project

General

Profile

Actions

Bug #2576

closed

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

Added by davshao over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/01/2013
Due date:
% Done:

0%

Estimated time:

Description

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.

Actions

Also available in: Atom PDF