Age | Commit message (Collapse) | Author |
|
There's still a lot code thats either commented- of ifdef'ed out.
Most likely not needed anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-savage/-/merge_requests/12>
|
|
Since we're relying on xserver >= 1.18, these macros aren't needed anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-savage/-/merge_requests/12>
|
|
Already effectively required by use of XNFcallocarray() introduced in
xorg/xserver@b96dc999 - xserver-1.18.0, released in Nov. 2015.
Allows dropping remnants of code for XAA and pre-pciaccess X servers
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-savage/-/merge_requests/11>
|
|
savage_accel.c:1541:5: warning: no previous prototype for ‘SavageGetCopyROP’ [-Wmissing-prototypes]
1541 | int SavageGetCopyROP(int rop) {
| ^~~~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
The function was an empty since 2008 at least. Remove it alongside the
unused GLX visuals code.
With this all the GL/GLX dependencies in the driver are gone.
Cc: Stefan Dirsch <sndirsch@suse.de>
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
|
|
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
Reviewed-by: Robert Morell <rmorell@nvidia.com>
|
|
This screws up when DRI isn't enabled.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
This fixes savage build against the no XAA server.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Otherwise, calling it twice would trigger a VBE bug when using
xserver 1.12.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
|
|
XF86DRI is defined by xorg-server.h, so --disable-dri in the driver
itself does exactly nothing other than not fill in the CFLAGS and thus stop
the driver from compiling.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
|
|
Instead maintain our own list of supported PCI IDs.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
|
|
Also clean out some unused prototypes from savage_driver.h
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Move DRI stuff from savage_driver.c to savage_dri.c
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
|
|
These registers are cleared after suspend/resume, so set them
up again in EnterVT.
|
|
|
|
|
|
Instructs the BCI Xv pixel formatter to use AGP memory as a scratch buffer
for Xv image upload
|
|
Since some time, savage enforces video-mode and max. pixel clock
validation through EDID, which is great for autoconfiguration, but
prevents users from defining higher screen resolutions, even though the
monitor is capable of it. This patch implements the IgnoreEDID option so
that the EDID monitor information can be explictly disabled.
|
|
|
|
|
|
First pass at merging both trees. So far, this has only been compile
tested. I need to dig out a savage card to put in a system for
testing, so it may take another hour or two.
|
|
Conflicts:
src/savage_driver.h
|
|
|
|
|
|
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-savage into pci-rework
Conflicts:
src/savage_driver.c
|
|
|
|
|
|
Thanks to ajax and tilman for locking advice and Pascal Sclafer
for tracking this down. Fixes bug 6357.
|
|
|
|
the way for the pci-rework branch. The disadvantage is that the
Savage3D puts MMIO and framebuffer in the same BAR. This has to be
fixed-up after the mapping by altering the write-combine setting for
the framebuffer subrange.
|
|
regions of PCI space.
|
|
SavageMapMem. Eliminate the MapBaseDense cruft.
|
|
line in the file is chaged). Add missing license statement. Change
SAVAGE_VGAHWMMIO_H to SAVAGE_DRIVER_H.
|
|
|
|
|
|
|
|
- Remove insane usage of pScrn->clocks. Set maxClock directly.
- Fix trivial and harmless warning in DRI code (FrameBufferBase)
|
|
|
|
lib/Xft/Imakefile
lib/Xft/Xft.h Update library version numbers to match updated package
versions.
Update driver version numbers for RC1.
|
|
- Moved driver-private definitions from savage_dri.h to savage_driver.h.
savage_dri.h should only contain the public interface between DDX and
DRI drivers.
- Don't forget to remove the command DMA mapping in SAVAGEDRICloseScreen.
|
|
- Added an option "DmaMode" to choose between vertex and command DMA.
- Allow ShadowStatus to be explicitly disabled even with DRI enabled.
- Updated the man page.
|
|
- always enable ShadowStatus when DRI is enabled
- if DRI initialization fails, reset ShadowStatus to configured setting
- if DRI initialization fails, fall back to ShadowStatus in framebuffer
|
|
- Fixed cobIndex on Savage2K. It used only a 4K COB so far. Now we have
full 128K.
- Program the shadow status thresholds correctly on Savage2K.
- Savage2K reports used entries in the queue in qword units instead of
dwords. Fixed WaitQueue2K accordingly.
- Event counter 0 is in status word 2 instead of status word 1 on Savage2K.
Fixed ShadowWait accordingly.
- Added a ShadowWaitQueue function that doesn't idle the engine all the
time. This improves 3D animation smoothness with concurrent
2D activity when shadow status is enabled.
|
|
|
|
DMA buffers instead of AGP buffers. Set dma_type properly in
SAVAGEDRIKernelInit.
- Something's still wrong with ShadowStatus on the PCI card I'm testing
here. Probably a DRM issue.
- Fixed error handling. Call SAVAGEDRICloseScreen instead of
DRICloseScreen.
- Added AGP/PCI detection (copied from the radeon driver).
|
|
committed to DRM CVS. Cleaned up the interface to the DRI driver.
Bumped the Savage DDX version to 2.0.0 due to incompatible changes in
that interface.
|
|
|
|
otherwise the overlay breaks on mode changes.
|
|
|