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: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: nathanialsloss%yahoo.com.au@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: port-mac68k/57126: wsfb crashes early clearing the screen (powerbook
	 160)
Date: Sat, 24 Dec 2022 19:17:33 +0900

 >  --- 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;
 >   }
 >   
 
 Looks this should rather be handled in check_video() or get_mapping()
 in mac68k/machdep.c.
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index