summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* xf86-video-vesa 2.6.0HEADxf86-video-vesa-2.6.0masterAlan Coopersmith2022-12-091-2/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Refuse to run if framebuffer or dri devices are presentJocelyn Falempe2022-10-271-5/+34
| | | | | | | | | | | | | | The simpledrm driver, introduced in kernel 5.14, can replace efifb to provide the efi framebuffer. This fixes a bug on Fedora 36 (first version to use simpledrm driver): https://bugzilla.redhat.com/show_bug.cgi?id=2074789 v2: check for framebuffer or dri devices instead of efi framebuffer interface. Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
* VESAValidMode: remove duplicate call to VESAGetRecAlan Coopersmith2022-10-171-2/+0
| | | | | | | | | | | | | | | | Found by cppcheck: src/vesa.c:356:11: style: Redundant initialization for 'pVesa'. The initialized value is overwritten before it is read. [redundantInitialization] pVesa = VESAGetRec(pScrn); ^ src/vesa.c:350:19: note: pVesa is initialized VESAPtr pVesa = VESAGetRec(pScrn); ^ src/vesa.c:356:11: note: pVesa is overwritten pVesa = VESAGetRec(pScrn); ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* VESADGASetMode: remove unused variable scrnIdxAlan Coopersmith2022-10-171-1/+0
| | | | | | | | | vesa.c: In function ‘VESADGASetMode’: vesa.c:1790:9: warning: unused variable ‘scrnIdx’ [-Wunused-variable] int scrnIdx = pScrn->pScreen->myNum; ^~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith2022-10-171-2/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* gitlab CI: add a basic build testAlan Coopersmith2022-01-301-0/+98
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Fix spelling/wording issuesAlan Coopersmith2022-01-302-2/+2
| | | | | | | Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Build xz tarballs instead of bzip2Alan Coopersmith2022-01-301-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* vesa 2.5.0xf86-video-vesa-2.5.0Adam Jackson2020-09-101-1/+1
|
* Disable shadow by default on known-virtual GPUsAdam Jackson2019-07-101-3/+32
| | | | | | | Device memory is the same domain as host memory, in this case, so the shadow just introduces more memcpy. Signed-off-by: Adam Jackson <ajax@redhat.com>
* Refuse to run on UEFI machines running older kernelsBenjamin Tissoires2019-05-101-1/+2
| | | | | | | | | | | | | | Prior to kernel v3.12, the efi framebuffer driver was named "efifb". This cause problem on RHEL 7 as the base kernel is 3.10. "efi-framebuffer.0" was added by commit 2645e0aa for that reason (don't run on UEFI machine). The change from "efifb" to "efi-framebuffer" was done with commit e6816a8 in the kernel Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> [ofourdan: updated commit message with commit references] Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
* Try harder to avoid 24bppAdam Jackson2019-03-061-1/+3
| | | | | | | | We're preferring depth 24 even if that means 24bpp. Newer servers don't support 24bpp anymore, and even for old servers it's suboptimal. Change the heuristic to only try 24bpp if the alternative is pseudocolor. Fixes: xorg/driver/xf86-video-vesa#3
* Update configure.ac bug URL for gitlab migrationAlan Coopersmith2018-12-071-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Update README for gitlab migrationAlan Coopersmith2018-11-183-20/+19
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Refuse to run on UEFI machinesnot-on-efiAdam Jackson2018-08-291-2/+9
| | | | | | | | | | | No possible good can come of this. v2: Check for .../efi-framebuffer.0 ("is there an EFI framebuffer") instead of /sys/firmware/efi ("is this an EFI machine"). Suggested by Peter Jones. Reviewed-by: Peter Jones <pjones@redhat.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
* Newline-terminate a few error messagesAdam Jackson2018-08-281-2/+2
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* vesa 2.4.0xf86-video-vesa-2.4.0Adam Jackson2018-02-151-1/+1
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* Honor Option "NoDDC" correctlyIan Lepore2018-02-151-1/+3
| | | | | | | | Move xf86CollectOptions before the DDC code so it can actually hear us when we ask to disable DDC. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46541 Signed-off-by: Adam Jackson <ajax@redhat.com>
* Use VBEFreeVBEInfo not freeAdam Jackson2018-02-151-1/+2
| | | | | | | | | A VbeInfoBlock has substructure, just freeing the object will leak. Unfortunately VBEFreeVBEInfo does not check for NULL first so we have to. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=25029 Signed-off-by: Adam Jackson <ajax@redhat.com>
* Fall back to VGA if the palette API isn't supportedAdam Jackson2018-02-151-0/+21
| | | | | | | | | | | | | | | | | | | | I ported vesa to use the VBE service back in: commit 55f585a15f42ffe028ff37ea1f63543795dbf56e Author: Adam Jackson <ajax@redhat.com> Date: Fri Sep 18 17:02:16 2009 -0400 Use VBE palette load, not VGA banging. I'm reasonably sure that worked on all the hardware I had handy at the time. But it doesn't work in seabios, which means 8bpp is broken under qemu. We query this API early in initialization, and if it fails ->savedPal will be NULL, so use that as the hint to fall back to VGA banging. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
* Don't build old probe method on sufficiently new serversAdam Jackson2018-02-151-0/+6
| | | | | | | | If we have pciaccess and not ISA support VESAProbe is effectively return FALSE, and the server will issue a potentially confusing fallback message if VESAPciProbe failed and ->Probe is non-NULL. Signed-off-by: Adam Jackson <ajax@redhat.com>
* autogen: add default patch prefixMihail Konev2017-01-261-0/+3
| | | | Signed-off-by: Mihail Konev <k.mvc@ya.ru>
* autogen.sh: use quoted string variablesEmil Velikov2017-01-261-4/+4
| | | | | | | | | Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer2017-01-261-1/+1
| | | | | | | Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
* Use default refresh by defaultStefan Dirsch2016-05-021-3/+5
| | | | | | | | This seems to be a feature that isn't tested well. Too many VBE 3.0 BIOSes are incorrectly implemented. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
* When debugging, print the VGAbase as well.Matthew Green2015-07-271-2/+3
| | | | | | Just in case it ends up zero and causes a segmentation fault. Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
* vesa 2.3.4xf86-video-vesa-2.3.4Adam Jackson2015-06-161-1/+1
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* Don't include deprecated xf86PciInfo.hAdam Jackson2015-06-161-3/+0
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* configure: Drop PanelID testAdam Jackson2015-06-112-10/+0
| | | | | | | | | vbe grew PanelID support in xserver 1.4; since we now require 1.6 we can remove the test. Which is good, because it appears to have been broken by the scrnIndex->pScrn conversion, as vbe.h doesn't include xf86str.h so ScrnInfoPtr was never defined and the test failed. Signed-off-by: Adam Jackson <ajax@redhat.com>
* Raise required version of xorg-server to >= 1.6Alan Coopersmith2014-01-301-1/+1
| | | | | | | Needed for Xorg to define/export xf86GTFMode(), introduced in xorg-server release 1.6.0 / commit ca5625b911e65fdfd4. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Bump to 2.3.3xf86-video-vesa-2.3.3Julien Cristau2013-09-091-1/+1
| | | | Signed-off-by: Julien Cristau <jcristau@debian.org>
* Make bool option parsing clearer and more consistentEgbert Eich2013-08-141-6/+5
| | | | | | | | | When there's no need to know whether the user has set the value of a configurable option (for logging for instance) the return of xf86ReturnOptValBool() can be assigned directly. Signed-off-by: Egbert Eich <eich@freedesktop.org> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
* autogen.sh: Implement GNOME Build APIbaserock/morphColin Walters2013-01-161-1/+3
| | | | | | http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
* configure: Drop AM_MAINTAINER_MODEAdam Jackson2013-01-161-1/+0
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* Remove mibstore.hAdam Jackson2012-09-251-4/+0
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* Fix check function in VESASaveRestoreAlexandr Shadchin2012-08-231-1/+1
| | | | | | Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Remove unneeded AM_CONDITIONALAlexandr Shadchin2012-08-231-4/+5
| | | | | | Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* vesa: bump to 2.3.2xf86-video-vesa-2.3.2Dave Airlie2012-07-181-1/+1
| | | | Signed-off-by: Dave Airlie <airlied@redhat.com>
* vesa: add api 13 compat layer.Dave Airlie2012-06-012-39/+98
| | | | Signed-off-by: Dave Airlie <airlied@redhat.com>
* vesa: fix make distcheck.Dave Airlie2012-05-231-0/+1
| | | | | | Add missing compat-api header Signed-off-by: Dave Airlie <airlied@redhat.com>
* vesa: convert to new screen conversion APIs.Dave Airlie2012-05-231-5/+5
| | | | | | Generated by util/modular/x-driver-screen-scrn-conv.sh Signed-off-by: Dave Airlie <airlied@redhat.com>
* vesa: add compat-api.hDave Airlie2012-05-232-1/+42
| | | | Signed-off-by: Dave Airlie <airlied@redhat.com>
* vesa 2.3.1xf86-video-vesa-2.3.1Adam Jackson2012-03-221-1/+1
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* configure.ac: Require a newer version of libpciaccessJeremy Huddleston2011-10-191-1/+1
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* Code style cleanup to make the map and unmap blocks more consistentJeremy Huddleston2011-10-191-19/+20
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* Build fix for ABI Version 12Jeremy Huddleston2011-10-191-7/+11
| | | | | | | | | ABI Version 12 removes support for multiple PCI domains. If you need to use this driver on a system with more than one PCI domain, you should either port this driver to using libpciaccess directly or stick with an older server. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* Use unsigned long rather than deprecated IOADDRESSJeremy Huddleston2011-10-191-1/+1
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* Build fix for ABI Version 12Jeremy Huddleston2011-10-191-0/+4
| | | | | | | | | ABI Version 12 removes support for multiple PCI domains. If you need to use this driver on a system with more than one PCI domain, you should either port this driver to using libpciaccess directly or stick with an older server. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* Be forgiving of character-cell size mismatches in mode sizesAdam Jackson2011-02-141-3/+25
| | | | | | Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
* Fix memory leak in mode validationAdam Jackson2011-02-141-0/+1
| | | | | | Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Adam Jackson <ajax@redhat.com>