Subject: CVS commit: syssrc/sys/arch/arm/iomd
To: None <source-changes@netbsd.org>
From: Reinoud Zandijk <reinoud@netbsd.org>
List: source-changes
Date: 03/23/2002 23:27:41
Module Name: syssrc
Committed By: reinoud
Date: Sat Mar 23 21:27:41 UTC 2002
Modified Files:
syssrc/sys/arch/arm/iomd: vidcvideo.c vidcvideo.h
Log Message:
Big rototil of the vidcvideo code to cleanup illogical structures and to
incorporate write back support for processors not having a write through
cache.
The current fb_devconfig structure now really holds the device's
configuration and the softc really only holds the attachment information.
This used to be mixed giving rise to weird stuctures and cross references.
The number of vertical syncs before the video memory writeback is triggered
is configurable ... default is to wait for 5 Vsync .. aprox minumum 10
times a second, but more likely in the order of 12,5 times a second. When
printing is in progress no write back is performed... only after the
waiting time. The reasoning behind this is that as long as the screen is
printed too the cache will be purged of dirty data anyway due to the
processing and new screen memory useage.
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 syssrc/sys/arch/arm/iomd/vidcvideo.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/arm/iomd/vidcvideo.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.