summaryrefslogtreecommitdiff
path: root/src/i915_hwmc.c
AgeCommit message (Collapse)Author
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-06-28xvmc: only allocate memory requiring physical address on 915GZhenyu Wang
Later 945-ish chipset can use graphics address instead.
2008-06-28xvmc: formalize surface type definitionZhenyu Wang
We should also carefully select surface type id.
2008-06-03xvmc: a little cleanupZhenyu Wang
Also safe check context size to not exceed surface max.
2008-03-26More compile warning fixes.Paulo Cesar Pereira de Andrade
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-12disable memory alloc debugZhenyu Wang
2007-12-25xvmc: consolidate put surface interfacesZhenyu Wang
Make surface list track like context list, and move generic PutSurface code out of i915. So MC driver just needs to fill specific the command params, and we can get one single type of intel xvmc command to issue, ddx driver's put_image_size got removed. Fix last commit with missing XvMCContext assignment. Fix priv_data free with apropriate X11 XFree.
2007-12-20xvmc: move dri context handling to generic codeZhenyu Wang
Use XvMCContext's context_id for dri context handling instead of driver private id. Remove unnecessary field for i915 private structs.
2007-11-29xvmc: move batch buffer init/fini code into genericZhenyu Wang
2007-11-15xvmc: some code clean upZhenyu Wang
2007-11-15xvmc: take out batch buffer handling codeZhenyu Wang
2007-11-14xvmc: attempt to move batch buffer code out of i915 privateZhenyu Wang
2007-10-26try to move some fields to xvmc driver structureZhenyu Wang
Still a lot of things to move include batch buffer, lock, context, surface resource handling, etc.
2007-10-22revert xvmc memory allocation hacksZhenyu Wang
2007-10-23split xvmc user lib chipset driversZhenyu Wang
2007-10-15Merge branch 'xvmc' of ↵Zhenyu Wang
git+ssh://zhen@people.freedesktop.org/~zhen/xf86-video-intel into xvmc
2007-10-08use field name to initialize i915 xvmc driverZhenyu Wang
2007-10-08move some definition out of i915 specific headerZhenyu Wang
2007-10-08Temp work around ttm allocation for xvmc, which should be fixed later.Zhenyu Wang
2007-09-26fix i915 xvmc devPrivate referenceZhenyu Wang
2007-09-26Create xvmc driver interfaceZhenyu Wang
convert i915 to new xvmc driver interface
2007-08-10disable subpicture initialZhenyu Wang
until we really implement it, OSD can't work for now.
2007-08-08check early if we have slot left for new context or surfaceZhenyu Wang
2007-08-08I missed to remove port attributes wrapperZhenyu Wang
2007-08-08explicit say "unsigned int"Zhenyu Wang
2007-08-08remove xvmc attributesZhenyu Wang
We don't have extra attributes than Xv port.
2007-08-07code cleanupsZhenyu Wang
and put wrap function in driver xvmc priv instead of per xv port priv
2007-07-19add copyrightXiang, Haihao
2007-07-19block some signals within critical section to avoidXiang, Haihao
dead lock.
2007-07-191. The pitches for y/u/v surfaces are 1024bytes aligned.Xiang, Haihao
2. clean code
2007-07-19a fix for 945G/945GMroot
2007-07-191. using batch bufferroot
2. implement macroblock_ipicture instruction 3. 16bit INTRA block
2007-07-19fix a bug related to display surfaceXiang, Haihao
2007-07-19fix some bugsXiang, Haihao
2007-07-19Release resource allocated for surface/subpictureXiang, Haihao
2007-07-19fix some bugsXiang, Haihao
2007-07-19fix some bugsXiang, Haihao
2007-07-19enable XvMC for i915Xiang, Haihao