summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-26Update version number to 2.10.9012.10.901Carl Worth1-1/+1
In order to make a new snapshot.
2010-02-26NEWS: Add notes for the 2.10.901 snapshot.Carl Worth1-0/+22
From skimming the git lot since 2.10.0.
2010-02-26Remove dead code: fill_detailed_lvds_blockCarl Worth1-23/+0
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 Jackson1-99/+41
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 Worth1-1/+1
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 Anholt1-21/+44
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 Anholt1-209/+213
2010-02-23Add new mobile Sandybridge PCI IDs.Eric Anholt2-1/+5
2010-02-23Add initial defines and probing for SandybridgeEric Anholt4-2/+43
2010-02-20Remove more DRI1 dead code.Eric Anholt9-346/+6
2010-02-20Remove dead i830_ring.h.Eric Anholt4-96/+0
2010-02-20Remove dead i830_display.h.Eric Anholt3-45/+1
2010-02-20Remove dead i830_bios.h.Eric Anholt3-633/+0
2010-02-20Remove the last tool now that it's been moved to gpu_tools.Eric Anholt5-123/+1
2010-02-20Remove swf_dumper. We have intel_mmio_read in gpu_tools to do this.Eric Anholt2-119/+1
2010-02-20Remove bios_reader now that it's moved to gpu_tools.Eric Anholt3-589/+2
2010-02-20Remove intel_hotplug tool now that it won't work with KMS.Eric Anholt6-318/+0
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 Anholt1-394/+0
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 Anholt3-278/+1
2010-02-20Remove xprintf.c from the old "I can't believe it's not an X Server" tools.Eric Anholt2-60/+1
2010-02-20Remove intel_statuspage, now that we have /debug/dri/0/i915_gem_hwsEric Anholt2-91/+0
2010-02-20Remove dead main.c from reg_dumper/Eric Anholt1-109/+0
2010-02-20Delete the audio dumping tool now that it lives in gpu_tools.Eric Anholt2-468/+1
2010-02-20uxa: Skip adjusting mask coordinates when no mask is present.Eric Anholt1-2/+4
Quiets clang warnings about garbage variable usage.
2010-02-20Fix an unused variable warning for !INTEL_XVMC.Eric Anholt1-0/+2
2010-02-20Remove dead assignments noticed by clang.Eric Anholt9-51/+7
2010-02-20Remove stale junk in VideoRam setup, noticed by clang.Eric Anholt1-23/+6
2010-02-20Remove dead UMS CRTC resize code.Eric Anholt1-65/+0
2010-02-17dri2: Silence the compiler for an unused function with proto < 4Chris Wilson1-23/+23
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 Barnes1-8/+32
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>
2010-02-10Disable bo reuse on shadow framebufferJesse Barnes1-0/+2
This keeps us from trying to set tiling on it while pinned, which also keeps us from trying to unpin it in the kernel, causing an error. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-02-06config: remove dead LINUXDOC macro usageGaetan Nadon1-2/+0
This module does not generate LINUXDOC documentation. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-05DRI2: only use version 4 APIs if kernel support existsJesse Barnes1-7/+9
Check for page flipping support before enabling flip and vblank event support needed for the new DRI2 APIs. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-01-31Initialize DRI2 info rec version 4 list of driver namesKeith Packard1-0/+7
With DRI2 supporting multiple subsystems, the video driver must initialize the list of driver names instead of just passing the single driver name used by Mesa. Without this, the X server will fail to initialize DRI2 as the numDrivers field in this structure will be uninitialized. Signed-off-by: Keith Packard <keithp@keithp.com>
2010-01-27uxa: Fix compatible_formats() for OVERChris Wilson1-2/+2
In separating the boolean logic out into a separate function, dc6522dd, I reversed the sense of one particular test: src->format == dst->format The OVER optimisation is only valid if the src and dst formats match, but not always. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-01-25Extract pixel value for all formats to avoid hitting fallbacks.Chris Wilson1-25/+39
On failing to extract the pixel value for an alpha-only solid we actually triggered a fallback. Since this path is commonly hitting whilst fading in images, for example cairo_paint_with_alpha(), the fallback was detected during the Moblin boot sequence where it was adding a second to the overall boot time. See fallback intel: Moblin startup is hitting a composite fallback, costing a ton of performance https://bugs.freedesktop.org/show_bug.cgi?id=26189 Based on the initial patch by Arjan van de Van. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-01-25uxa: Adjust uxa_get_color_for_pixmap to match prototypeChris Wilson1-4/+4
The prototype says this function returns a Bool and not just an int, so be pedantic and return TRUE/FALSE. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-01-24uxa: Protect against a potential NULL src->Drawable referenceChris Wilson1-41/+78
One of the convoluted if branches dereferenced Drawable when it is potentially NULL. Avoid this by explicitly handling the NULL Drawable cases earlier, and enabling solid fills for solid sources. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-01-24uxa/uxa-render: Always remove useless repeats during composite.Chris Wilson1-8/+4
I added a jump if there was no src or mask Drawable, but we do actually need to check for useless src repeats even if we have a source-only mask. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-01-24uxa: Increase amount of composite fallback verbageChris Wilson1-10/+21
The fallback log for http://bugs.freedesktop.org/show_bug.cgi?id=26189 does not actually state the reason why we actually fallback. This is possibly because we need to fallback for reasons other than the operation cannot be performed in hardware -- such as using an alpha map or the screen is swapped out, so add this information to the fallback log. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-01-17intel: Use the compositing-aware colorkey filler instead of homebrew fail.Eric Anholt2-37/+4
Of course, it's still fail since you can't correctly composite colorkey overlay, but at least this doesn't spam colorkey to the root window. Tested-by: Daniel Vetter <daniel@ffwll.ch>
2010-01-15Update Sun license notices to current X.Org standard formAlan Coopersmith1-22/+19
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-13DRI2: if the swap condition is satisfied, complete it immediatelyJesse Barnes1-2/+18
If we get to the point where we check the divisor/remainder equation and it's satisfied, we should complete the swap immediately. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-01-13DRI2: support new DRI2 APIsJesse Barnes4-6/+646
The new interfaces allow for improved buffer swap, and support for the SGI_swap_control, SGI_video_sync and OML_sync_control GLX extensions. The Intel implementation allows page flipping to occur for swaps that are full screen and not rotated. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-01-08i965: Ensure that URB_FENCE is aligned to 64-bytesChris Wilson2-10/+36
The PRM (Vol 1, p32) specifies that the URB_FENCE command must not cross a cache-line boundary (64-bytes) in order to workaround a silicon issue. Ensure that it does not by inserting an alignment point before the atomic section. This is a slightly too large hammer, but the easiest method to work with the current BEGIN_BATCH/ADVANCE_BATCH protections. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-01-08uxa-glyphs: Enable TILING_X on glyph caches.Chris Wilson3-12/+14
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-01-08i830: Do not use vtSema when chosing mapping type.Chris Wilson1-15/+11
The mapping type to use is determined by the tiling of the underlying object, not by whether or not not we control the vt. This was a left-over wart that was intended to mean that we had GEM and so could use GTT mappings. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-01-08Consolidate determining maximum sizes for use with GEMChris Wilson3-10/+12
Add a small wrapper function so that the callsites need only call the single function when checking the available aperture size for determining the maximum viable size for operations. This will allow us to easily extend this set in the future by only needing to adding the check to a single location. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-01-07Xv: don't enable XVMC port on unsupported configsDaniel Vetter1-2/+15
This just makes it _really_ clear, what's supported. No other changes. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Eric Anholt <eric@anholt.net>
2010-01-07Xv: consolidate xmvc passthrough handlingDaniel Vetter1-51/+37
It's now all in I830PutImageTextured. Also kill some leftovers from XVMC-on-overlay support and ums-XVMC-on-i915 support. Plus a small comment as a reminder for where to add i915 xvmc support back in. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Eric Anholt <eric@anholt.net>