Commit Graph

17 Commits

Author SHA1 Message Date
Daniel Vetter 47ae1181f6 i915 XvMC: don't stall the cpu anymore
Proper bo management ensures that the cpu doesn't step on buffers
used by the gpu. Drop the now unnecessary synchronization.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Carl Worth <cworth@cworth.org>
2010-03-04 09:38:38 -08:00
Daniel Vetter 5018fd3097 libIntelXvMC: kill ums leftovers
On i965 class hw, kernel_exec_fencing was 1 always, anyway. And on
i945, this patch kills a memory leak (dunno how, but it does).

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2010-03-04 09:38:17 -08:00
Eric Anholt c2c670ef18 Remove more DRI1 dead code. 2010-02-20 12:57:21 -05:00
Eric Anholt 8ae0e44e42 Move to kernel coding style.
We've talked about doing this since the start of the project, putting it off
until "some convenient time".  Just after removing a third of the driver seems
like a convenient time, when backporting's probably not happening much anyway.
2009-10-06 17:10:31 -07:00
Zou Nan hai bfeeac6de0 i915 xvmc, fix fd.o bug #22103 2009-06-23 11:31:37 +08:00
Li Shao Hua 52054b6a4c switch XvMC to gem 2009-05-19 16:27:32 +08:00
Zou Nan hai defa6971c6 enable UV half pixel 2009-03-26 15:24:29 +08:00
Paulo Cesar Pereira de Andrade c13efdd3d6 More compile warning fixes.
o Check for RANDR_GET_CRTC_INTERFACE before defining functions that
  are used only if it is defined.
o Declare a variable before code, and rename it from ret to xvmc_status
  to better describe it.
o if 0 some static functions not used.
o Don't declare some unused variables.
o Declare as static some functions that are used only in the file defining it.
o Add a default/fallback return True to the Bool function
  src/xvmc/intel_batchbuffer.c:intelInitBatchBuffer().
o Ansify src/xvmc/xf86dri.c.
o Add missing prototype to src/xvmc/xf86dri.h and follow pattern of other
  headers by adding "extern" before function prototype.
2008-03-26 10:11:36 +08:00
Zhenyu Wang 7bfbcb4dc7 xvmc: clean batch buffer finish 2007-11-16 15:43:04 +08:00
Zhenyu Wang bcd656c8df xvmc: oops, should first map batch buffer before init 2007-11-15 11:18:38 +08:00
Zhenyu Wang 619044b242 xvmc: move batch buffer init/fini to intel_batchbuffer.c 2007-11-15 02:23:07 +08:00
Zhenyu Wang e8db8584ae xvmc: attempt to move batch buffer code out of i915 private 2007-11-14 00:11:20 +08:00
Zhenyu Wang a470f6b2ca try to move some fields to xvmc driver structure
Still a lot of things to move include batch buffer, lock, context,
surface resource handling, etc.
2007-10-26 22:40:47 +08:00
Xiang, Haihao 36ea26f277 add copyright 2007-07-19 17:28:35 +08:00
root 8c249765ce 1. using batch buffer
2. implement macroblock_ipicture instruction
3. 16bit INTRA block
2007-07-19 17:28:35 +08:00
Xiang, Haihao ccac60bf03 fix some bugs 2007-07-19 17:28:35 +08:00
Xiang, Haihao 934da9f2b8 enable XvMC for i915 2007-07-19 17:28:35 +08:00