summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-07-27Version bumped to 0.6.225HEADmasterKevin Brace1-1/+1
This version fixes a DRI1 initialization bug that has existed since Version 0.6.217. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-07-27Fix for DRI1 initialization failureKevin Brace3-16/+38
commit a245948 (Map FB during screen initialization rather than pre-initialization) broke DRI1 initialization code. This was due to frame buffer no longer being mapped prior to DRI1 initialization. Now, frame buffer is mapped prior to DRI1 initialization. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-04-20Version bumped to 0.6.224Kevin Brace1-1/+1
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 <kevinbrace@gmx.com>
2020-04-20Update KM400 chipset support identification text for the log fileKevin Brace1-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-04-20HI (Hardware Icon) based cursor partial fix for CLE266 / KM400 chipsetKevin Brace1-4/+13
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 <kevinbrace@gmx.com>
2020-04-04Version bumped to 0.6.223Kevin Brace1-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-04-04Revert commit 8484549Kevin Brace4-104/+8
In development code adding hardware cursor (bi-color hardware cursor) support for older devices got committed accidentally. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-04-03Version bumped to 0.6.223Kevin Brace4-8/+104
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-04-02Unify IGA1 and IGA2 HI (Hardware Icon) cursor callbacksKevin Brace1-116/+53
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-04-01Version bumped to 0.6.222Kevin Brace1-1/+1
Stopped allocating second HI (Hardware Icon) based cursor storage. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-04-01Use only one storage location for HI (Hardware Icon) based cursorKevin Brace1-3/+11
This eliminates duplicated second storage location for HI based cursor. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-04-01Eliminate variable type compilation warning in 64-bit environmentKevin Brace1-2/+3
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-04-01Version bumped to 0.6.221Kevin Brace1-1/+1
Put in a fix for KMS mode CLE266 and KM400 chipsets HI (Hardware Icon) based cursor. The cursor is still broken in UMS mode. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-04-01Fix for KMS mode CLE266 and KM400 chipsets HI (Hardware Icon) cursorKevin Brace1-21/+15
The HI cursor is still broken in UMS mode for CLE266 and KM400 chipsets. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-23Version bumped to 0.6.220Kevin Brace1-1/+1
Fixed an issue with allocated memory alignment for UMS no acceleration and non-DRI1 EXA acceleration situations. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-23Align cursor storage to the cursor storage's sizeKevin Brace1-2/+9
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-23Move duplicated EXA related code into via_exa.cKevin Brace4-72/+38
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-23Move viaEXAOffscreenAlloc() to via_exa.cKevin Brace3-26/+30
All EXA related code should be inside via_exa.c. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-23Remove the declaration of EXAOPT_MIGRATION_HEURISTIC macroKevin Brace1-2/+0
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-23Really pass the alignment requirement when allocating memoryKevin Brace1-7/+14
In UMS no acceleration and non-DRI1 EXA acceleration situations, drm_bo_alloc() was not actually passing the alignment requirement to function calls that allocate memory. They were blindly specifying 32 byte alignment. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-23Change several drm_bo_alloc() input parameters typeKevin Brace2-3/+4
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-12Version bumped to 0.6.219Kevin Brace1-1/+1
Contains cursor disappearance fix for CN333 / CN400 / PM800 / PN800 chipsets. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-12Cursor disappearance fix for CN400 / PM800 chipsetsKevin Brace1-7/+0
It appears that CN400 / PM800 chipsets have only 1 hardware icon rather than 2 for newer graphics engines. Note that hardware icon is used as cursor rather than the "real" hardware cursor. The fix also applies to CN333 and PN800 chipsets as well. The fix was tested on VIA Technologies C3 processor based Wyse Vx0 thin client that has CN333 chipset. Suggested-by: Eric Kudzin <knoppix1337@yahoo.com> Tested-by: Eric Kudzin <knoppix1337@yahoo.com> Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-11Redo ClockRange / ClockRanges compilation fixKevin Brace1-2/+2
Use the actual X.Org X Server version for determining whether or not ClockRange or ClockRanges should be used. This commit is effectively redoing commit 8bc53d8 (Compilation hooks to support ClockRange and ClockRanges). This commit and commit 8bc53d8 are ultimately related to X Server commit 326429b (modes: Remove the ClockRanges type). Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-09Version bumped to 0.6.218Kevin Brace1-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-09Pass a ScrnInfoPtr type pointer when calling viaUMSAccelInit()Kevin Brace3-4/+3
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-09Reject color depth other than 8, 16, or 24 bitsKevin Brace1-5/+0
Color depth and bpp (Bits Per Pixel) are not the same. VIA Technologies Chrome IGP does not support 32 bit color depth. It does, however, support 24 bit color depth and 32 bit bpp. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-09viaUnmapMMIO() should now be a static functionKevin Brace1-1/+1
Commit 5622df16bebeffa50442c5e566d37d71b658f910 (Add viaUMSPreInitExit() for unmapping MMIOs) should have declared viaUnmapMMIO() as a static function. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-09Version bumped to 0.6.217Kevin Brace1-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-09Add viaUMSPreInitExit() for unmapping MMIOsKevin Brace3-2/+28
This is for releasing MMIOs when exiting VIAPreInit() in UMS mode. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-09Minor code tweaks to VIAPreInit()Kevin Brace1-16/+17
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-09Add viaUMSDestroy() for tearing down UMS specific resourcesKevin Brace3-6/+17
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-09Map FB during screen initialization rather than pre-initializationKevin Brace2-6/+8
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-06Separate FB (un)mapping code from MMIO (un)mapping codeKevin Brace3-93/+142
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-03-06Unmap MMIO and FB when tearing down the DDXKevin Brace1-0/+9
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-28Version bumped to 0.6.216Kevin Brace1-1/+1
Added a fix for GCC 10 link time error issue. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-28Move iga*_crtc_funcs extern declaration to src/via_ums.hKevin Brace2-4/+2
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-28Fix for GCC 10 activating stricter check for extern variables / structsKevin Brace3-4/+4
GCC 10 now activates -fno-common option by default. This results in link time errors. Since GCC 10 is still not officially released, this link time behavior was reproduced on older GCC releases by adding -fno-common option manually to the generated code compilation script. Suggested-by: Xavier Bachelot <xavier@bachelot.org> Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-28Initialize memPhysBase member of ScrnInfoRec struct inside viaUMSCreate()Kevin Brace1-14/+14
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-28Initialize fbOffset member of ScrnInfoRec struct inside viaUMSCreate()Kevin Brace1-5/+5
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-28Remove discontinued functions from src/via_driver.hKevin Brace1-4/+0
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-13Version bumped to 0.6.215Kevin Brace1-1/+1
The code now uses EXA offscreen memory manager when EXA is in use and DRM is not available. If EXA is not in use, X Server's offscreen memory manager will continued to be used. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-13Rearrange some code inside viaUMSCreate()Kevin Brace1-12/+16
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-13Use EXA offscreen memory manger when EXA is in useKevin Brace2-24/+77
EXA offscreen memory manager is used when DRM is not available. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-13Move no DRM UMS FB initialization code into viaInitFB()Kevin Brace1-51/+72
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-13Use pScrn->pScreen inside viaUMSCreate()Kevin Brace1-4/+3
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-13Change error handling code for VIADRIKernelInit() inside viaUMSCreate()Kevin Brace1-1/+2
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-12Version bumped to 0.6.214Kevin Brace1-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-12Handle more of screen initialization inside viaUMSCreate()Kevin Brace2-60/+55
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2020-02-12Version bumped to 0.6.213Kevin Brace1-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>