summaryrefslogtreecommitdiff
path: root/src/i830_video.h
AgeCommit message (Collapse)Author
2009-03-06Xv: free tearing on textured videoXiang, Haihao
Add an Xv attribute XV_SYNC_TO_VBLANK which has three values -1(auto), 0(off) and 1(on) to control whether textured adapter synchronizes the screen update to the vblank. The default value is -1(auto).
2009-02-18Make Xv used a buffer object instead of i830_memory.Kristian Høgsberg
We still pin the buffer object in case of overlay, but for textured video we're now no longer using i830_memory for Xv anymore.
2008-12-04Remove the extra memory allocation for 965 video state now that it's all in BOs.Eric Anholt
2008-12-04Move i965 video cc state to BOs.Eric Anholt
2008-06-28xvmc: Don't copy on xvmc surface in PutImageZhenyu Wang
As xvmc rendering result has already been in fb, we shouldn't do extra copy on it. Although special care is required for i915 xvmc surface pitch alignment, which must be at least 1KB aligned. So video display function should take it into acount instead of always setting Y pitch to be double of U/V pitch.
2008-03-11Remove i830+ driver's use of CARD*/INT* types for great justice.Eric Anholt
Several uses are actually left, which are determined by the X Server interfaces we're implementing.
2008-02-25Fix overlay rotationZhenyu Wang
Track current covered crtc rotation in port's private, and fix overlay rotation transform to be against crtc mode coordinate.
2007-10-17intel: make block handler hook happen no matter what video is in useDave Airlie
This shouldn't make a difference now, but for upcoming EXA/batch changes it will be more useful
2007-08-17Use i830_memory.c instead of the AA's allocator for XV buffers.Eric Anholt
This should fix issues with XV being allocated into XAA's tiled pixmap cache and resulting bad rendering. Its also brings us closer to being able to shrink the size of the pixmap cache on XAA, which is of limited utility.
2007-06-05Always ensure the pipe A is lit when activating overlay on pipe B.Keith Packard
Ok, so moving video from pipe A to pipe B still requires that pipe A be active during the transition. Instead of trying to be fancy, just ensure that pipe A is running on each transition to pipe B.
2007-05-25Ensure Pipe A is active when enabling overlay the first time.Keith Packard
The overlay on the i830 appears to be clocked by Pipe A when being enabled. If pipe A is not running, it will freeze the overlay and blank the screen. Setting a random mode on the Pipe and turning it on fixes this problem nicely.
2007-05-23Use CRTCs instead of pipe indices for video pipe selection.Keith Packard
Replace pipe indices with crtc indices and store references to the xf86Crtc objects in the video private structure.
2006-12-28Draw textured video to the backing pixmap in the composited case.Eric Anholt
Currently, when the backing pixmap is not in framebuffer, we just BadAlloc rather than drawing garbage to the front buffer. This can be fixed with EXA.
2006-12-27Bump the size of the extra space for 965 so it actually fits.Eric Anholt
2006-12-27Make the assert() in i965_video.c actually work and expose an error.Eric Anholt
2006-12-27Move 965 textured-video out to a separate file.Eric Anholt
2006-12-27Bug #7524: Major improvements to EXA/XAA static memory allocation.Eric Anholt
With this, we no longer allocate XV through the XF86 linear allocator in the EXA case. We also no longer allocate extra space for the XF86 2D allocator that we don't use in EXA mode, or space for the EXA allocator in XAA mode. The EXA offscreen allocator now gets enough space for several screenfuls of pixmaps plus one 1920x1088 movie. A large duplicated section of code for allocating each framebuffer in the old dual-screen mode was also factored out.
2006-09-27Merge branch 'master' into modesettingEric Anholt
This reverts most of the mergedfb code. This will instead be done in device- independent RandR code. Conflicts: src/Makefile.am src/i810_driver.c src/i810_reg.h src/i830.h src/i830_cursor.c src/i830_driver.c src/i830_modes.c src/i830_video.c
2006-07-18Merge branch 'master' into textured-videoEric Anholt
This moves the i915 textured video implementation into i915_video.c to avoid conflicts in register definitions with i830_reg.h when we use i915_reg.h. This also means that i810_reg.h's i915 3D regs definitions are removed and replaced with i915_reg.h usage. Conflicts: src/i830_rotate.c