summaryrefslogtreecommitdiff
path: root/src/radeon_video.c
AgeCommit message (Collapse)Author
2009-06-06Now automatically raises Xserver sched prio for single processor systems.upstream-lenny-with-frc-patchesThomas Hilber
Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Forgot to implement switching off debug output.Thomas Hilber
Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06New options for xorg.conf, bug fix in radeon DRM.Thomas Hilber
- made 'git clone git://anongit.freedesktop.org/git/mesa/drm' obsolete - introduced new xorg.conf options for both intel and radeon FRC patches - FRC (aka sync_fields) switch (default on) - process priority (default 0) - FRC debug output (default off) - fixed a driver bug in radeon DRM with possible cause of crash - removed code looking for lost VBLANK interrupt in radeon DRM. This issue has been fixed by standard lenny kernel. Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Some minor corrections.Thomas Hilber
Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Rebase everything to xorg V7.4 (xserver V1.5) and DRM Git.Thomas Hilber
Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Workaround for sporadically lost interrupts.Thomas Hilber
- implemented a workaround for sporadically lost interrupts on Radeon type hardware Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Fix bug with triggering of recovery actions.Thomas Hilber
- fixed a bug that erroneously could trigger recovery actions as if stray updates would have been occurred - since 40ms enhancement (see below) issues with DVB budget cards are considered as fixed. You now also can watch live-TV with the patch. But the time to switch a channel still should be optimized. It sometimes takes too long for the Soft-PLL to lock. Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Rename options, rename every 1/25 s, graphic.Thomas Hilber
- frame rate now adapted every 1/25 second instead of only once per second as before. This should make rate adaptions invisible even if they change by large values - implemented a simple graphic which should give you a better overview of how regularly frame updates are issued from your decoder. And how the Soft-PLL copes with these updates - automatic sync of initial field polarity now has been removed. It's now part of 40ms double buffer update improvement (see vers. 0.0.4) - simplified/changed interface to DRM-module Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Widened time window for double buffer updates.Thomas Hilber
- now widened time window for double buffer updates from 20ms to 40ms. This is done via drm-ioctl() since the chip doesn't provide a native interface for this. - this greatly reduces Soft-PLLs sensitivity to any timing interference - thus we now even can fully enable live-viewing with DVB drivers and a budget card. Though DVB driver timing problems are not yet solved. - changed interface to DRM-module Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Fixed a minor bug during init of PLL.Thomas Hilber
Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Increased precision to determine position of 'trim' scanline.Thomas Hilber
Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Add frame rate conrol.Thomas Hilber
- reworked everything from scratch - first approach to implement a PLL in software to lock VGA frame rate to an external signal source (e.g. DVB stream frame rate) - fixed scaler bug in RADEONDisplayVideo() (Thanks to Roland Scheidegger) - found a way how to detect initial field parity on RADEON cards - added patches from various sources to fix bugs in current CVS xf86-video-ati (Thanks to Andy Burns) - successfully tested on various mainboards and ATI RADEON type graphics car including RV100/Radeon 7000 and Asus Pundit ID-3 (RS300/Radeon 9100 IGP) Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2008-09-05Revert "Make sure video offerlay offsets don't exceed the hardware limit of ↵Brice Goglin
128 MB." This reverts commit 96ff37226ef6f06a05535f3a6f73a4c104f4024d.
2008-08-26Make sure video offerlay offsets don't exceed the hardware limit of 128 MB.Michel Dänzer
Always set the overlay base address such that the buffer offsets are as small as possible. This could still break in theory if the buffers were more than 128 MB apart, but in reality this can't happen ATM because we always allocate a single memory area for all buffers. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16845 . (cherry picked from commit a55e85f742d1334bf88e4681e553f025d2de38df)
2008-05-28R1xx: Gamma fixes for overlayAlex Deucher
2008-05-20R200/R300: fix gamma setup for overlayTobias Diedrich
More pending. See bug 16001
2008-05-13RS4xx: Split out RS400 and RS480 as separate familiesAlex Deucher
RS400 (intel based IGP) and RS480 (AMD based IGP) have different MC setups and need to be handled differently
2008-05-12Replace CARD{8,16,32} with uint{8,16,32}_tMatt Turner
As has been done with xf86-video-intel, replace all CARD* datatypes with uint*_t datatypes available from stdint.h.
2008-05-09RADEON: fixup ifdef from last commitAlex Deucher
2008-05-08RADEON: disable MMIO paths for EXA composite/texvid on IGP/R5xxAlex Deucher
The MMIO paths eventually lead to a hang on r5xx/IGP. I haven't been able to find out why yet.
2008-03-25RV250: disable textured video due to HW bugAlex Deucher
The YUV->RGB conversion in the texture engine is broken on RV250 so the colors come out wrong.
2008-03-01RS4xx: enable exa render accel and textured videoAlex Deucher
RS6xx paths seem to work fine on RS4xx
2008-02-28Fix 16 bit packed YUV XVideo playback on big endian systems with DRI disabled.Michel Dänzer
http://bugs.freedesktop.org/show_bug.cgi?id=14668
2008-02-26RADEON: Convert textured video to use pipelined uploadsAlex Deucher
2008-02-24rs690: initial textured video supportDave Airlie
2008-02-23r500: add textured video Xv adapter supportDave Airlie
2008-02-23RADEON: no textured video yet on XPRESS chipsAlex Deucher
Still need to sort out the VAP and PVS stuff
2008-02-23RADEON: add textured video support for r1xx-r4xx radeonsAlex Deucher
Based on the kdrive ati video code by Eric Anholt. R3xx/R4xx still have some clipping issues in certain situations
2008-02-18bring back to life planar-to-packed conversion for rs4xxRoland Scheidegger
Here's a patch to bring back the code for converting planar yuv to packed yuv, if a RS400 family chip is used (though I've no idea if they really all fail with planar yuv). fixes bug 12744
2008-01-19radeon: Partial fix for XVideo RGB image distortions.Kusanagi Kouichi
2008-01-11Drop symbol lists from r128, radeon, theatre.George Sapountzis
compile-tested only
2007-12-21Merge remote branch 'origin/atombios-support'Dave Airlie
Conflicts: src/radeon_display.c src/radeon_driver.c
2007-12-20RADEON: check for xf86_crtc_clip_video_helper() in configure.acAlex Deucher
use xf86_crtc_clip_video_helper() from the server if available.
2007-12-19more endian related fixageDave Airlie
2007-12-07radeon: move savedreg/modereg into entity instead of infoDave Airlie
2007-12-02radeon: Further XVideo fixes.Michel Dänzer
* Make sure pitch constraints are always met for DMA upload blits. * RGB24 is not affected by endianness.
2007-12-02radeon: Fix crash with XVideo 24bit RGB images.Kusanagi Kouichi
See https://bugs.freedesktop.org/show_bug.cgi?id=13274 .
2007-10-04radeon: Fix for pci-rework.Michel Dänzer
Surprisingly easy, thanks to George's pci-rework changes.
2007-09-22RADEON: Fix crash when Xv window is outside of either crtcAlex Deucher
2007-09-22Revert "RADEON: fix crash when Xv window is outside of either crtc"Alex Deucher
This reverts commit 9109e62e3be7f96b41b534ab517fdf1baf458806. This breaks ABI. better fix to come.
2007-09-22RADEON: fix crash when Xv window is outside of either crtcMichel Dänzer
Should fix bug 12175
2007-08-25RADEON: fix crtc clipping for XvAlex Deucher
2007-08-2464 bit warning fixes.Michel Dänzer
For printf vs. CARD32, use %u or %x and and a cast to unsigned.
2007-08-23radeon: Warning fixes.Michel Dänzer
2007-08-23radeon: Change a test to info->IsIGP from several IGP families.Michel Dänzer
2007-08-23radeon: Wait for pending overlay flip to finish before emitting new one.Michel Dänzer
2007-08-23radeon: bug 11861 - dead code removal in radeon_video.cRoland Bär
(cherry picked from commit 8e3a6f83016cd8c4cfd43ceee4cbf0a8dc018b2a)
2007-08-16RADEON: fix Xv clipping and overlay sourcingAlex Deucher
- Basically just copied from the intel driver. I'm planning to push this to the server soon, but add it now to get things working and to provide compat for older servers. - Overlay crtc source control attribute now called XV_CRTC The old attribute XV_SWITCHCRT has been removed. If anyone cares, we can add it back as an alias to XV_CRTC XV_CRTC: -1 auto, 0 crtc0, 1 crtc1
2007-06-25RADEON: fix possible segfault on mobility chips with MM tablesAlex Deucher
reported by Stefan Buehler
2007-06-05RADEON: fixup RADEONDisplayVideo() to better handle the crtc being usedAlex Deucher