summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-04i915 XvMC: switch ssb to drm_intel_boDaniel Vetter
This also starts to kill the last remnants of the support for physical addresses for the indirect state buffers. With gem this would need kernel support (in the form of a new reloc type in execbuf2). This does not change the ABI between ddx and client libIntelXvMC. I've decided to do this in one swoop when all the buffer rework is done. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Carl Worth <cworth@cworth.org>
2010-03-04i915 XvMC: kill last_flip and last_renderDaniel Vetter
Seems to be a remnant from i810 XvMC support. last_flip is always 0, so serves no real purpose anymore. Kill it and the associated code. With last_flip gone, last_render also lost its purpose. Kill it, too. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Carl Worth <cworth@cworth.org>
2010-03-04i915 XvMC: switch one_time_state_emit to batchbuffer macrosDaniel Vetter
This is in preparation for real relocatable drm_bo's instead of memory at a fixed address. By switching to the batchbuffer macros (like i965 xvmc) we can use the nice OUT_RELOC macro. Also align the code more with coding-style elsewhere, i.e. bitops instead of bitfield structures. The bitfield structures are quite a mess to work with the batchbuffer macros, so they were getting in the way, anyway. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Carl Worth <cworth@cworth.org>
2010-03-04XvMC: kill dead code in i915_xvmc.cDaniel Vetter
WIP code that hasn't changed for over two years is unlikely to suddenly start progressing. Drop it. After all, git can easily resurect it in cases it's needed. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Carl Worth <cworth@cworth.org>
2010-03-04XvMC: kill i830_memory in 965 class xvmcDaniel Vetter
Yes, this breaks binary compat of the struct passed around between X ddx and the client libXvMC. But we always ship both, so they should not get out of sync. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Carl Worth <cworth@cworth.org>
2010-03-04i830_memory: hide as much of the old memory allocator as possibleDaniel Vetter
The only user left of this stuff is the xvmc support. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
2010-03-04i830_memory: switch frontbuffer to drm_intel_boDaniel Vetter
Yet another user of i830_memory gone for good. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
2010-03-04i830_memory: switch cursors to drm_intel_boDaniel Vetter
Minus one user of i830_memory, some more to go. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
2010-03-04i830_memory: kill field "pitch"Daniel Vetter
Totally unused. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
2010-03-04i830_memory: rip out field "size"Daniel Vetter
Use the one in the drm bo instead. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
2010-03-04i830_memory: kill field "tiling_mode"Daniel Vetter
Totally unused. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
2010-03-04i830_memory: no memory allocations without a bo!Daniel Vetter
Kill the corresponding !bo path in i830_free_memory. Also kill another remnant of the pre-kms era in the same file, while I was looking at the code. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
2010-03-04i830_memory: rename i830_bind_all_memory to reflect code realityDaniel Vetter
It doesn't bind anything anymore, but does a few random things. Give it a hopefully vague enough name to cover all cases ;) Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
2010-03-04i830_memory: rip out the old video memory allocatorDaniel Vetter
Besides the debug stuff the went away in the previous patch, this stuff was totally unused ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
2010-03-04i830_memory: kill i830_desribe_allocationsDaniel Vetter
Totally useless debug function from the pre-gem era. No point to occasionally spam Xorg.log with a bogus "No memory allocations" message. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
2010-03-04i830_memory: rip out field "offset"Daniel Vetter
Use the one in the drm bo instead. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
2010-03-04i830_memory: rip out field "end"Daniel Vetter
It's a left-over from the non-gem era and no longer used at all. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net>
2010-03-04libIntelXvMC: kill ums leftoversDaniel Vetter
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-04Xv: fixup XvMC on i915Daniel Vetter
I've accidentally broken i915 xvmc due to alignment constrains that break my assumption that Y-pitch == UV-pitch*2. Fix this up by consistenly using dstPitch2 for the Y-pitch. This also unifies the dst pitch computation slightly, now that the i915 xvmc special case is gone. Bugzilla: http://bugs.freedesktop.org/show_bug.cgi?id=25949 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> (Minor edit to support compilation without INTEL_XVMC defined by Carl Worth <cworth@cworth.org>)
2010-03-04Xv: fixup YUV plane offset for xvmc caseDaniel Vetter
In my previous cleanup I've inadvertedly dropped the offset adjustment code for the xvmc passthrough case. Fix this up. Also reimplement that ugly hack I've accidently killed to keep i915 class xvmc a tad bit longer on life support. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Tested-by: xunx.fang@intel.com
2010-02-26Update version number to 2.10.9012.10.901Carl Worth
In order to make a new snapshot.
2010-02-26NEWS: Add notes for the 2.10.901 snapshot.Carl Worth
From skimming the git lot since 2.10.0.
2010-02-26Remove dead code: fill_detailed_lvds_blockCarl Worth
All callers of this function were recently removed, so it can join them in the bit bucket.
2010-02-26kms: Fix LVDS mode list construction.Adam Jackson
Rather than mangle the EDID block and hope the server does the right thing, just build a sensible mode list up front. Do this for LVDS where there is no EDID or where it does not claim to be continuous-frequency (since in the latter case, the server will add reasonable modes for us). Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-02-25NEWS: Fix typo (we just released 2.10 *not* 1.10)Carl Worth
Sigh. Every version number that must be typed manually will eventually be typed incorrectly at some release. (I think that's Owne Taylor's Law)
2010-02-24In frame event handling, track drawable id instead of drawable pointer.Eric Anholt
Windows aren't refcounted, so if the event came in after the window was destroyed, we'd dereference garbage and segfault.
2010-02-24Fix up a bunch of inconsistent 4-space indentation in i830_dri.cEric Anholt
2010-02-23Add new mobile Sandybridge PCI IDs.Eric Anholt
2010-02-23Add initial defines and probing for SandybridgeEric Anholt
2010-02-20Remove more DRI1 dead code.Eric Anholt
2010-02-20Remove dead i830_ring.h.Eric Anholt
2010-02-20Remove dead i830_display.h.Eric Anholt
2010-02-20Remove dead i830_bios.h.Eric Anholt
2010-02-20Remove the last tool now that it's been moved to gpu_tools.Eric Anholt
2010-02-20Remove swf_dumper. We have intel_mmio_read in gpu_tools to do this.Eric Anholt
2010-02-20Remove bios_reader now that it's moved to gpu_tools.Eric Anholt
2010-02-20Remove intel_hotplug tool now that it won't work with KMS.Eric Anholt
We'd want to put something like it in sysfs or something if we wanted this tool to exist again.
2010-02-20Remove dead i830_bios.c.Eric Anholt
Things that used it are now either in the kernel or stashed off in gpu_tools.
2010-02-20Remove intel_gtt and intel_lid now that they're in gpu_tools.Eric Anholt
2010-02-20Remove xprintf.c from the old "I can't believe it's not an X Server" tools.Eric Anholt
2010-02-20Remove intel_statuspage, now that we have /debug/dri/0/i915_gem_hwsEric Anholt
2010-02-20Remove dead main.c from reg_dumper/Eric Anholt
2010-02-20Delete the audio dumping tool now that it lives in gpu_tools.Eric Anholt
2010-02-20uxa: Skip adjusting mask coordinates when no mask is present.Eric Anholt
Quiets clang warnings about garbage variable usage.
2010-02-20Fix an unused variable warning for !INTEL_XVMC.Eric Anholt
2010-02-20Remove dead assignments noticed by clang.Eric Anholt
2010-02-20Remove stale junk in VideoRam setup, noticed by clang.Eric Anholt
2010-02-20Remove dead UMS CRTC resize code.Eric Anholt
2010-02-17dri2: Silence the compiler for an unused function with proto < 4Chris Wilson
Move the unused function into the #if DRI2INFOREC_VERSION >= 4 block. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-02-11DRI2: handle full height blits without tearing in CopyRegionJesse Barnes
On 965 and up, if we detect a full height blit, we should just wait for vblank, rather than try to do a scanline wait for the whole display. On pre-965, doing a scanline wait followed by a blit works, but in the full height case we need to give the blitter time to start up, so we wait until the bottom line of the blit minus 2 padding scanlines to accommodate. Fixes FDO bug #22475. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>