CVS commit: src/sys/arch/sgimips/gio

"Adrian Chadd" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	adrian
Date:		Tue Aug 18 21:27:29 UTC 2026

Modified Files:
	src/sys/arch/sgimips/gio: newport.c

Log Message:
newport: ensure a valid ri_stride is provided to rasops_init()

The x resolution is calculated by timings programmed into VC2, rather
than some kind of hard coded width/height from the framebuffer.
Newport always supports up to 1280x1024 regardless of what your monitor
resolution is.

However for some monitor detection timings, the resulting geometry
is not ENTIRELY correct for rasops to work with.  So just round it up
to a multiple of four so a newport console will always show up regardless
of said monitor timing.

Submitted by Imre Kaloz  <[email protected]> .

Fixes PR port-sgimips/60585 .


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/sgimips/gio/newport.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.