configure.ac | 2 +- src/via_driver.c | 19 ++++++++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-)
New commits: commit 5255a42d8a31a17938176a70e73a7fd2ea202c31 Author: Kevin Brace <kevinbr...@gmx.com> Date: Mon Apr 20 18:50:58 2020 -0700 Version bumped to 0.6.224 Partial fix for KM400 chipset cursor display issue for KMS / UMS. The fix may still not display the cursor on X servers older than 1.11. CLE266 chipset may still have a cursor display issue on some platforms. The code was verified on HP Pavilion a800n. Signed-off-by: Kevin Brace <kevinbr...@gmx.com> diff --git a/configure.ac b/configure.ac index 97bdb4e..793c54e 100644 --- a/configure.ac +++ b/configure.ac @@ -23,7 +23,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) AC_INIT([xf86-video-openchrome], - [0.6.223], + [0.6.224], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome], [xf86-video-openchrome]) commit 07e758fb257c3da4c676c014d3ce2e79b7be0e53 Author: Kevin Brace <kevinbr...@gmx.com> Date: Mon Apr 20 18:50:44 2020 -0700 Update KM400 chipset support identification text for the log file Signed-off-by: Kevin Brace <kevinbr...@gmx.com> diff --git a/src/via_driver.c b/src/via_driver.c index 15b96e0..3240677 100644 --- a/src/via_driver.c +++ b/src/via_driver.c @@ -130,7 +130,7 @@ _X_EXPORT DriverRec VIA = { /* Supported chipsets */ static SymTabRec VIAChipsets[] = { {VIA_CLE266, "CLE266"}, - {VIA_KM400, "KM400 / KM400A / KN400 / P4M800"}, + {VIA_KM400, "KM400(A) / KN400(A) / P4M800"}, {VIA_K8M800, "K8M800 / K8N800"}, {VIA_PM800, "PM800 / PN800 / PM880 / CN333 / CN400"}, {VIA_P4M800PRO, "P4M800 Pro / VN800 / CN700"}, commit 343050c50d622cb5cbde557a86bd642c6c550a93 Author: Kevin Brace <kevinbr...@gmx.com> Date: Mon Apr 20 18:33:19 2020 -0700 HI (Hardware Icon) based cursor partial fix for CLE266 / KM400 chipset There are still some platforms where the cursor will not be displayed, but it works on some, so it is better if the code get committed. Signed-off-by: Kevin Brace <kevinbr...@gmx.com> diff --git a/src/via_driver.c b/src/via_driver.c index 55e40e6..15b96e0 100644 --- a/src/via_driver.c +++ b/src/via_driver.c @@ -1534,10 +1534,19 @@ VIAScreenInit(SCREEN_INIT_ARGS_DECL) xf86_config = XF86_CRTC_CONFIG_PTR(pScrn); cursorWidth = cursorHeight = 64; - flags = HARDWARE_CURSOR_AND_SOURCE_WITH_MASK | - HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_64 | - HARDWARE_CURSOR_TRUECOLOR_AT_8BPP | - HARDWARE_CURSOR_ARGB; + switch (pVia->Chipset) { + case VIA_CLE266: + case VIA_KM400: + flags = 0; + break; + default: + flags = HARDWARE_CURSOR_AND_SOURCE_WITH_MASK | + HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_64 | + HARDWARE_CURSOR_TRUECOLOR_AT_8BPP | + HARDWARE_CURSOR_ARGB; + break; + } + cursorSize = (cursorWidth * cursorHeight) * (32 / 8); alignment = 1024; _______________________________________________ openchrome-devel mailing list openchrome-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/openchrome-devel