[Bug 217852] Add tunables to radeonkms, so that it works on PowerMac G5

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 16 21:47:04 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217852

            Bug ID: 217852
           Summary: Add tunables to radeonkms, so that it works on
                    PowerMac G5
           Product: Base System
           Version: CURRENT
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: hiroo.ono+freebsd at gmail.com

Created attachment 180886
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180886&action=edit
add tunables equivalent to Linux's module parameters.

On a early PowerMac G5 DP, to get the radeonkms kernel module loaded and
working properly, we need to force Radeon 9600 card to PCI mode.
On Linux, it is done by specifying a module parameter, but its FreeBSD
equvalent, tunable is not defined in sys/dev/drm2/radeon/radeon_drv.c.
Attached patch defines tunables for each "module parameters" of Linux in
radeon_drv.c.

Tested on a 12.0-CURRENT/powerpc64 r313561.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list