NetBSD-Bugs archive

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

Re: port-mac68k/57126: wsfb crashes early clearing the screen (powerbook 160)



The following reply was made to PR port-mac68k/57126; it has been noted by GNATS.

From: Nat Sloss <nathanialsloss%yahoo.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-mac68k/57126: wsfb crashes early clearing the screen (powerbook 160)
Date: Sat, 24 Dec 2022 19:40:47 +1100

 --Boundary-00=_SsrpjnxGVaUo7ot
 Content-Type: Text/Plain;
   charset="iso-8859-15"
 Content-Transfer-Encoding: 7bit
 
 This seems to fix it, see attached.
 
 Best regards,
 
 Nat
 
 --Boundary-00=_SsrpjnxGVaUo7ot
 Content-Type: text/x-patch;
   charset="ISO-8859-1";
   name="mac68kwsfb.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="mac68kwsfb.diff"
 
 diff -r dd49f08c0f10 sys/arch/mac68k/obio/grf_obio.c
 --- a/sys/arch/mac68k/obio/grf_obio.c	Sun Oct 30 21:30:34 2022 +1100
 +++ b/sys/arch/mac68k/obio/grf_obio.c	Sat Dec 24 19:15:43 2022 +1100
 @@ -187,6 +187,11 @@
  		break;
  	}
  
 +	/* XXX Hack  for wrongly configured size */
 +	int newsize = mac68k_video.mv_height * mac68k_video.mv_stride;
 +	if (mac68k_video.mv_len < newsize)
 +		mac68k_video.mv_len = newsize;
 +
  	return found;
  }
  
 
 --Boundary-00=_SsrpjnxGVaUo7ot--
 


Home | Main Index | Thread Index | Old Index