Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/xf86-video-wsfb/dist/src actually use wsdispl...
details: https://anonhg.NetBSD.org/xsrc/rev/e1436fb34dfa
branches: trunk
changeset: 9979:e1436fb34dfa
user: macallan <macallan%NetBSD.org@localhost>
date: Sun Jul 22 14:54:32 2018 +0000
description:
actually use wsdisplayio_fbinfo::fbi_fboffset
diffstat:
external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r a09dacafd56d -r e1436fb34dfa external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c
--- a/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c Mon Jul 16 16:30:04 2018 +0000
+++ b/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c Sun Jul 22 14:54:32 2018 +0000
@@ -501,8 +501,10 @@
}
fbi->fbi_flags = 0;
fbi->fbi_fbsize = lb * info.height;
+ fbi->fbi_fboffset = 0;
}
+ xf86Msg(X_INFO, "fboffset %x\n", fPtr->fbi.fbi_fboffset);
/*
* Allocate room for saving the colormap.
*/
@@ -958,7 +960,7 @@
pScrn->PointerMoved = WsfbPointerMoved;
}
- fPtr->fbstart = fPtr->fbmem;
+ fPtr->fbstart = fPtr->fbmem + fPtr->fbi.fbi_fboffset;
#ifdef WSDISPLAY_TYPE_LUNA
if (wstype == WSDISPLAY_TYPE_LUNA) {
/*
Home |
Main Index |
Thread Index |
Old Index