CVS commit: xsrc/external/mit/xf86-video-newport/dist

"Adrian Chadd" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	xsrc
Committed By:	adrian
Date:		Thu May 14 00:58:48 UTC 2026

Modified Files:
	xsrc/external/mit/xf86-video-newport/dist: README
	xsrc/external/mit/xf86-video-newport/dist/src: newport.h
	    newport_accel.c newport_driver.c newport_regs.c newport_regs.h

Log Message:
newport: timing fixes, documentation fixes, XMAP code refactoring

* Update the README to describe what the newport driver really supports now.
* Refactor the XMAP9 access to mirror what I did in the newport console
  driver in the kernel.
* Add some comments around the acceleration routines to do with GFIFO
  tracking and potential overruns.
* Document what some of the acceleration routines are doing.
* Add an option to set the XMAP9 timing (fast, slow) in case someone's
  using a 1024x768x60Hz monitor (like me).
* Always setup an RGB2 ramp regardless of 8 or 24 bit operation.
  It doesn't hurt to set this up for both and it'll be useful later on
  when I add/commit support for 24 bit framebuffer via hardware dithering
  on XL8.

  RGB2 is one of the DAC colour spaces which are used to translate the 24 bit
  RGB values into what is sent to the 13W3 connector.  This isn't an 8 bit
  colour map for 8 bit psuedo colour, this is a gamma correction table which
  the hardware can choose per-pixel by settings in the XMAP/VC2 (but is
  currently always programmed in to use RGB2 for 24 bit colour output.)

Tested:

* Indy R4600PC-100, XL8
* Indy R5000PC-150, XL24


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 xsrc/external/mit/xf86-video-newport/dist/README
cvs rdiff -u -r1.4 -r1.5 \
    xsrc/external/mit/xf86-video-newport/dist/src/newport.h
cvs rdiff -u -r1.1.1.1 -r1.2 \
    xsrc/external/mit/xf86-video-newport/dist/src/newport_accel.c
cvs rdiff -u -r1.12 -r1.13 \
    xsrc/external/mit/xf86-video-newport/dist/src/newport_driver.c
cvs rdiff -u -r1.2 -r1.3 \
    xsrc/external/mit/xf86-video-newport/dist/src/newport_regs.c \
    xsrc/external/mit/xf86-video-newport/dist/src/newport_regs.h

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.