summaryrefslogtreecommitdiff
path: root/src/savage_cursor.c
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2005-05-17 08:30:00 +0000
committerEgbert Eich <eich@suse.de>2005-05-17 08:30:00 +0000
commita42d68da8d3905bc21d426b68519ba0d8356ed7b (patch)
treec19da4b0954888696dd81d07ba90b80f2831fc2e /src/savage_cursor.c
parentbe455c98276cec6cc881ca0093476e244c765bf8 (diff)
Set the hardware to 8bit CLUT mode in 8 bpp. We used to flag an
8 bit DAC to DDX but did not make sure it actually was running in 8 bit mode. On Savage4 the HW cursor doesn't seem to be truecolor in 8bpp - not even with the streams engine running. Fix SavageProbeDDC() to load vbe module and initialize it before using it (Bugzilla #3309).
Diffstat (limited to 'src/savage_cursor.c')
-rw-r--r--src/savage_cursor.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/savage_cursor.c b/src/savage_cursor.c
index ff0136f..be1a6c0 100644
--- a/src/savage_cursor.c
+++ b/src/savage_cursor.c
@@ -98,8 +98,12 @@ SavageHWCursorInit(ScreenPtr pScreen)
)
infoPtr->Flags |= HARDWARE_CURSOR_TRUECOLOR_AT_8BPP;
#endif
- /* With streams engine the Cursor seems to be ALWAYS TrueColor */
- infoPtr->Flags |= HARDWARE_CURSOR_TRUECOLOR_AT_8BPP;
+ /*
+ * With streams engine the Cursor seems to be ALWAYS TrueColor
+ *except at least the Savage4
+ */
+ if (psav->Chipset != S3_SAVAGE4)
+ infoPtr->Flags |= HARDWARE_CURSOR_TRUECOLOR_AT_8BPP;
infoPtr->SetCursorColors = SavageSetCursorColors;
infoPtr->SetCursorPosition = SavageSetCursorPosition;