summaryrefslogtreecommitdiff
path: root/src/i965_video.c
AgeCommit message (Collapse)Author
2009-08-07Align tiled pixmap height so we don't address beyond the end of our buffers.Eric Anholt
2009-06-30Xv: fix domain usage for binding table on i965+ chipsZhenyu Wang
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2009-06-30Add XV support on IGDNGZhenyu Wang
This brings necessary change for IGDNG for texture video support from 2D render code. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2009-05-01Hold reference to video binding table until all rects are painted.Keith Packard
The optimization of unreferencing the binding table when the relocation is posted causes the object to be dereferenced for each box in the clip list, causing general chaos in the buffer manager. It's easier to just hold a reference to the object until all of the boxes are painted and then drop it. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-05-013D_STATE_VERTEX_BUFFERS takes four 32-bit values, not three.Keith Packard
The spec says this command takes an extra (mbz) 32-bit value, so let's provide it with one. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-05-01Don't bother to enable VF statistics during 965 video playbackKeith Packard
This was used while bringing up the driver to debug vertext fetches. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-04-27Now that video destination pixmaps are always in BOs, no more MarkSync.Eric Anholt
2009-03-06intel: Nuke shared-entity support (zaphod mode).Eric Anholt
It's been broken for years now, and KMS offers a much better chance of getting this working sensibly without making a mess of the 2D driver.
2009-02-25XvMC: fix broken xvmc on 965Xiang, Haihao
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.
2009-01-20Use intel_emit_reloc from video to prettify 965 render bind_bo setup.Eric Anholt
2009-01-20Do check_aperture_space and batch_start_atomic for i965 video.Eric Anholt
This increases the overhead for video in the presence of cliprects, but we were already doing nasty things in that case and don't seem to care. This could fix potential bad rendering or hangs with video, particularly with DRI2.
2009-01-20Move 965 video setup to a separate function so we can move it around.Eric Anholt
2009-01-06Handle drm_bo_map failure in 965 video and composite paths.Keith Packard
These two paths allocate a number of objects directly. Signed-off-by: Keith Packard <keithp@keithp.com>
2008-12-04Emit proper relocations to pixmaps in BOs in i965 video.Eric Anholt
2008-12-04Move i965 video surface state and binding table to BOs.Eric Anholt
2008-12-04Move i965 video vertex data to BOs.Eric Anholt
This eliminates extra syncing when clipping is involved.
2008-12-04Move remaining i965 video programs to BOs.Eric Anholt
2008-12-04Move i965 video wm and sampler state to BOs.Eric Anholt
2008-12-04Stop allocating unused scratch space for i965 video.Eric Anholt
2008-12-04Move i965 video vs/sf state to BOs.Eric Anholt
2008-12-04Move i965 video cc state to BOs.Eric Anholt
2008-12-04Move I965DisplayVideoTextured unit state setup to separate functions.Eric Anholt
2008-12-04Move I965DisplayVideoTextured surface/sampler setup to separate functions.Eric Anholt
2008-12-04Move debug code for I965DisplayVideoTextured to separate functions.Eric Anholt
2008-11-27Merge branch '965-xvmc'Zou Nan hai
Conflicts: src/common.h src/i830_hwmc.c src/i830_video.c
2008-11-06Make IS_GM45 into IS_G4X defineZhenyu Wang
Those are identical that using one define is much clear. And it can also apply fixes for GM45 too, which is missing with origin define.
2008-10-06Fix a typo in G965 texture video codeShuang He
2008-08-11 [i965-xvmc] bypass copy when put image with xvmcroot
2008-07-03Fix official name for GM45 chipsetZhenyu Wang
2008-06-17Add support for Intel 4 series chipsets.Zhenyu Wang
2008-04-13Kludge to make planar video work - duplicate sampler stateKeith Packard
This patch duplicates all of the surface sampler state needed to read from the separate YUV surfaces and then has the planar sampler read from samplers 0, 2, 4 instead of 0, 1, 2. This appears to make things work, instead of having the samplers break at random. I do not understand why this works.
2008-04-10Remove sync after 965 video put.Keith Packard
The hardware has been marked as needing a sync, so the next video put will block waiting for the previous one to complete. Adding a sync here just stalls the video playback for no good reason.
2008-04-10Add planer video decode kernelKeith Packard
Support for planar video reduces bus bandwidth by 25% and also reduces CPU usage during planar->packed conversion.
2008-04-10Use shared exa_wm code for packed yuv decodeKeith Packard
Eliminate special video sf and ps programs.
2008-03-31Fix composite with mask using new compositing thread codeKeith Packard
Clean up register allocation to never overlap Always write 4 values for each texture vertex.
2008-03-14Change OUT_RING and similar calls to OUT_BATCH for batchbuffer mergeEric Anholt
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-01-09Update PIPELINE_SELECT instruction and surface state format for new chipsetZhenyu Wang
2007-09-20Fix pixmap offsetHong Liu
Use consistent interface for counting pixmap offset.
2007-08-10Tiling fixes for 965Jesse Barnes
This should be close to the last set of tiling fixes for 965 chipsets. Prior to this commit, the 965 composite hook didn't take tiling into account, nor did 965 textured video, which caused display corruption. However, there seems to be at least one last bug to squash--on occasion, a configuration with tiling enabled won't properly display text. This is likely another tiling related problem with the composite hook.
2007-06-12Fix context switching between DRI and X.Eric Anholt
Now, all 3D pipeline consumers in the driver just call IntelEmitInvariantState(), which handles basic state setup, the caching of that state setup, and notifying DRI clients. This also removes a mistaken idle wait in the Render code which was papering over the brokenness in the context switching.
2007-04-17Bug #10438: Fix 965 XV when sourcing from less than the full image.Eric Anholt
Bob deinterlacing in MythTV, and the zoom options in totem would result in attempting to source from outside the video instead of scaling appropriately.
2007-01-02Make driver build and run on Xorg 7.1. Delay DSP*BASE setting until last.Keith Packard
Autodetect libdrm version, disable new memory manager on older libraries. Move new M_T_ defines from i830.h to i830_xf86Crtc.h. Add many system headers to define functions. Use i830PipeSetBase at end of mode setting code to set DSP*BASE and flush changes. Don't duplicate PipeSetBase call from screen init function. Make initial RandR configuration code usable on older versions of extension so the server doesn't start in a panning mode. Use xfree instead of free in i830_tv.c.
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-27debugging for location of various 965 textured-video state.Eric Anholt
2006-12-27Make the assert() in i965_video.c actually work and expose an error.Eric Anholt
2006-12-27Replace XAA mark/waitsyncs with the XAA/EXA wrappers.Eric Anholt
2006-12-27reformat i965_video.c to 4-space indents, 80 columns, no trailing whitespace.Eric Anholt
2006-12-27Move 965 textured-video out to a separate file.Eric Anholt