Port-macppc archive

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

Re: Netbooting mac mini g4



On Jun 20,  7:19pm, macallan%netbsd.org@localhost (Michael) wrote:
-- Subject: Re: Netbooting mac mini g4

| Here's a *very* crude patch that should prevent radeonfb from ever
| unblanking the external TMDS output:
| Index: radeonfb.c
| ===================================================================
| RCS file: /cvsroot/src/sys/dev/pci/radeonfb.c,v
| retrieving revision 1.98
| diff -u -w -r1.98 radeonfb.c
| --- radeonfb.c  16 Jun 2018 01:25:23 -0000      1.98
| +++ radeonfb.c  20 Jun 2018 23:15:48 -0000
| @@ -2477,7 +2477,7 @@
|  
|         for (i = 0; i < dp->rd_ncrtcs; i++) {
|  
| -               if (dp->rd_crtcs[i].rc_number) {
| +               if (dp->rd_crtcs[i].rc_number == 12) {
|                         reg = RADEON_CRTC2_GEN_CNTL;
|                         mask = RADEON_CRTC2_DISP_DIS;
|                         fpreg = RADEON_FP2_GEN_CNTL;
| 
| We should probably not mess with unused outputs to begin with.

Unfortunately it does not work. Even commenting out the whole blank
routine does not work.

christos


Home | Main Index | Thread Index | Old Index