Tag '2.20.10' created by Chris Wilson <ch...@chris-wilson.co.uk> at 2012-10-14 15:36 +0000
Intel 2.20.10 release Changes since 2.20.3: Chris Wilson (320): sna/gen4: Restore w/a flush for video sna/gen7: Use a temporary to avoid switching rings for overlapping copies sna/gen6: Reduce ring switching for overlapping copy boxes sna/dri: Correct ring selection for a busy bo sna/dri: Don't force ring selection if we have semaphores sna/gen4: Restore the w/a flush for fill/copy as well sna/gen6: Compile fix for DBG sna: Format markup to suppress compiler warning sna: Check the composite extents against the clip sna: Minor DBG for fallback glyphs and discarding the mask sna/gen5: Fix use of uninitialised rgba value for DBG sna: Add DBG option to disable discarding of glyph masks sna/gen5: Add DBG for context switching sna: Ignore trailing bits when comparing lines inside the bitmap sna: Use a compile time constant for determine the zeroth bit sna: Use the HAS_SEMAPHORES parameter when available sna: Add a couple of debug options to control use of BLT patterns sna: Add assertions to 8x8 tiled BLTs and reset BLT state afterwards sna: Improve a DBG statement sna: Reset BLT state after copy-boxes sna: Handle userptr failures more gracefully sna/gen6+: Try to use the BLT to avoid TLB misses sna/gen2-5: Substitute an equivalent BLT composite operation sna: Mark SHM userptr bo as unreusable sna: Only mark userptr bo as snooped on non-LLC architectures sna: Treat ShmPixmap as ordinary sna: Add a little DBG for promotion of CPU source bo sna: Discard the GPU bo after syncing to CPU bo for writing sna: Fix typo in computation of texel offsets for tiled 8x8 blts sna: Make the failure to create render caches non-fatal sna: Fix compilation without pixman glyphs uxa: Only emit a warning if we fail to tile the frontbuffer and the hw allows sna: do not bother attaching to a miniscule ShmPixmap sna: Enable use of shm pixmap for readback sna: Defer the release of a busy SHM pixmap until the next flush callback sna/gen2,3: Prevent dereferencing a NULL bo with solid render fills sna: Remove zero-size rectangles fro PolyFillRectangle sna: Flush shm pixmaps after upload sna: Submit the batch upon destroying a ShmPixmap sna: Only continue to update the shadow buffer if the flips succeeded sna: Avoid queuing a pageflip on a DPMS off pipe sna: Avoid conflating tearfree and randr shadow modes sna: Remember alpha-fixup for BLT upload sna/glyphs: Fix potential leak of glyph extents (for many lists of many formats) sna: Fix assignment inside assertion (should be an equality check) i810: Query PortPriv for the surface properties sna/gen2: Add break rather than fallthrough sna: Check for failure to pin the front buffer test/dri2: Discard error returns from _XReply uxa: Check for failed mmapping of the scanout uxa/glamor: Check for failed prepares uxa/gen3: Simply simple fill shader generation sna: Fixup DBG after 7f5a9e3 sna: Correct assertion for StoreColors sna: Silence a couple of recent compiler warnings 2.20.4 release sna: Add damage for the whole unaligned trapezoid not per component sna/damage: Add some more sanity checks for creating empty regions sna: Reduce damage after a large composite operation sna: Reduce subtracted damage earlier sna: Avoid forcing an upload for an unblittable bo unless on a fallback path sna/damage: Replace the damage with a larger box if subsumed sna: Consider sample wraparound in each direction independently sna: Enable BLT composite functions to target CPU buffers sna: compare the correct trailing dword when skipping identical bitmap lines sna: Only submit the batch if flushing a DRI client bo sna: Update maybe_inplace to recognise more types of handled pixel formats sna/trapezoids: Accept more operators for maybe-inplace sna: Discard GPU (and damage) after applying clear on migration to CPU sna: Tweak is_cpu/is_gpu heuristics sna/gen3: Tidy vbo discard sna: Don't promote a ShmPixmap to GPU for a CopyArea sna: Experiment with flushing the batch prior to rendering to a ShmPixmap sna: Do not use the GPU to migrate to the CPU whilst wedged! sna: Flush the batch before preparing for a FlushCallback sna: Remove unneeded source bo unref after __sna_render_pixmap_bo() sna: Avoid migrating the BLT composite src to the GPU if the dst is not Sanity check that the driver is an i915.ko GEM device before claiming it sna: Add a modicum of DBG for PolyFillRect Missing includes for b5b76ad849b sna: Correct ordering of calls to memcpy for BLT cpu composite paths sna: Refine decision making for maybe-inplace trapezoids sna: Remove confusing is_cpu() sna: Add a couple of buffer cache management assertions Only open the matching BusID and not the first named Check that the module that indeed i915 before using custom ioctls sna: A few more buffer cache management assertions sna: Keep a stash of the most recently allocated requests sna: Trim a parameter from kgem_bo_mark_dirty() and add some assertions sna/gen3: Convert to sna_drawable_use_bo() sna: Assign a unique id to snoopable CPU bo sna: Allow target bo promotion to GPU even on old architectures sna/gen3: Fix assertion to check the freshly allocated vertex bo sna/gen6+: Only mark the dst as dirty again if it already is in the batch sna: Mark all levels of a proxy as dirty sna: Fix the assertion for tracking proxies in the batch sna: Add a DBG to log pixmap destruction sna: Display still resident memory in inactive/snoop caches under DEBUG_MEMORY sna: Balance CPU bo accounting for SHM pixmaps sna: Discard a no-longer-used GPU bo after moving to the CPU domain sna: Make sure the opposite damage is destroyed after reducing to all sna: Assert that the CPU bo is not used if the GPU is clear sna: Convert to using IGNORE_CPU flag rather than complicating the CPU damage sna: If we cannot use the CPU bo along a render pathway, promote to GPU sna: Only use the GPU for an active CPU bo unless forced sna: Flush before adding any SHM pixmap into the batch sna: Mark the CPU damage as needing flushing for DRI buffers sna: Flush the batch if it contains any DRI pixmaps sna: Use a temporary userptr mapping for a large upload into a busy target sna: Tidy up users of __kgem_bo_is_busy() sna: Correct a pair of DBG messages sna: Allow the batch to be flushed if the GPU is idle upon a context switch sna: Submit the partial batch before throttling 2.20.5 release sna/gen4+: Check for allocation failure for the clear solid bo sna: Cleanup composite redirection after substituting the BLT sna: Add some DBG to BLT composite substitute to show if redirection is used sna: Add some DBG to kgem_is_idle() sna/gen6+: Simplify prefer_blt_bo sna/gen6+: Do not call sna_blt_composite() after prepping the composite op sna: Use a fast span emitter for mono trapezoids without damage or clipping sna/gen5+: Use the common methods for choosing the render targets Add Option "Backlight" to override the probed backlight control interface Revert "sna: Cleanup composite redirection after substituting the BLT" sna: Flush the batch if it references a ShmPixmap and the GPU is idle sna: Upload PutImage inplace to a fresh GPU bo if the device doesn't snoop sna: Assert that the bo is marked as 'flush' when exported to DRI clients sna: A little more DBG to try and identify ratelimiting ops sna: Fix crash with broken DBG missing one of its arguments sna: Add a modicum of DBG to kgem_is_idle() sna: Force the stall if using a busy ShmPixmap bo with PutImage sna: Ensure that we create a GTT mapping for the inplace upload buffer sna: Track outstanding requests per-ring sna: Make sure we reset the domain tracking when exporting DRI bo sna: Propagate the request to flush rather than directly submit the batch sna: Discard inplace flag if we create a CPU map for the upload buffer sna: Align active upload buffers to the next page for reuse sna: Remove inconsistent assertion sna/dri: Hold a reference to the vsync blit sna/dri: Use common routine for testing busyness after flush sna: Discard cached CPU upload early when clearing with a solid fill sna/gen2+: Add the missing assertions in case the drawrect is invalid sna: Nullify gpu_bo after free in case final release is deferred in destroy sna/dri: Remove busy-wait spin from vblank chaining of swapbuffers sna: Tweak placement rules if we already have a CPU bo 2.20.6 release sna: Don't retire when searching for a snoopable buffer without hw support sna: Cache the temporary upload buffer when copying boxes man: Malformed "Backlight" section sna/gen6+: Redirect fills if the destination is too large for 3D sna: Enable platform probing sna: Port prime interfacing sna: Fix typo for detecting prime ioctls sna: Fixup CREATE_USAGE_SHARED sna: Add some DBG to the prime paths sna: Fix a typo in an error message sna: Improve handling of output offloading sna: And remember to flush the damage to the output slaves... NEWS: fixup missing links to bugs referenced in 2.20.6 release notes sna: Flush the batch before a render operation if the GPU is idle sna: Rearrange use_cpu() tests for composite ops to avoid syncing CPU bo sna: Fix comparison of memcpy overlap to include x-offsets sna: Add DBG control to disable CPU bo sna: Don't upload ignored cpu damage sna: Tweak upload path to remove redundant code sna: Use async upload only if the last render was not CPU sna/gen7: Always emit a stall when flushing the texture cache sna/video: Use the scanout flag and FB id for sprite framebuffers sna: Review validity of damage when discarding CPU bo sna: Drop master after discarding framebuffers sna: Initialise the empty boxes field of the region before subtracting it uxa: Flush batch immediately after queuing a WAIT_FOR_EVENT uxa: Fix cut'n'paste error in Option "Backlight" Revert "sna: Flush the batch before a render operation if the GPU is idle" sna: Harden against initialisation failures Add PlatformProbe to handle sharing of device entities sna: Correct assertions for adding damage that bypasses the region prime: Align pitch of shared untiled buffers to 256 bytes sna: Apply the minimum 256 pitch to CREATE_USAGE_SHARED pixmaps as well sna: Add is-pinned checks to changing the pitch on an existing bo uxa/prime: Mark the pixmap as pinned once exported (similar to flink) uxa: Distinguish forms of pinning sna/prime: Distinguish forms of pinned pixmap sna/prime: Correct the pinning flag when importing the prime bo sna/dri: Make sure we set the SCANOUT flag when creating bo for pageflips sna/dri: Fix the double-buffer pageflipping path sna: Protect sna_crtc_resize() against early invocation with no RootWindow sna: And remember to update the ScreenPixmap after resize prime: Allocate a GPU_SCREEN when not primary to fulfil the output sink role sna/prime: Fixup attaching the randr14 scanout pixmap sna: First scan for a backlight associated with the device sna: Fix PolyPoint fallback through a complex clip sna: Pass the hints down to the PolyPoint fallback sna: Remember that LineDoubleDash involves updating the GC between segments 2.20.7 release NEWS: Fix version reference 'bugs since 2.20.6'! sna: Fixup possible_crtcs for ZaphodHeads sna: Workaround issue with global glyph privates and shared ZaphodHeads uxa: Error out after failing to become DRM master during PreInit prime: Reorder probe messages so that the driver prefix is correct sna: Flush after operating on large buffers sna: Avoid readback inplace if the target is unmappable sna: Avoid fallbacks to shadow pixels if FORCE_GPU is in effect sna: Ensure tiling upload buffers are trimmed to fit in the cache sna: Add some DBG as to why kgem_check_bo() flushes sna: Propagate busyness when creating the proxy sna: Keep a very small, short-lived cache of large buffers sna: Also remove bogus assertion from sna_replace__xor() sna: Teach sna_replace__xor() how to tile large uploads sna: Prefer to use indirect uploads for very small updates sna: Do not attempt to change tiling if wedged sna/gen3: Tidy NO_COMPOSITE debugging sna: Avoid corrupting the CPU bo when compositing fallback data through BLT sna: Fix BLT composite offset sna: Fix analysis of source extents for BLT composite sna/gen7: Defensively program default GT values Skip adding unknown special modes sna/dri: Version bump for prototypical AsyncSwap sna/dri: Add a bunch of assertions for hunting a use-after-free sna/dri: Update AsyncSwap for recent changes in tracking DRI drawables sna: Fix typo for sna_render_picture_flatten() sna/dri: And the hunt for the use-after-free continues... sna/dri: flip->next_front.bo is owned by the DRI drawable not by the flip sna: Only discard CPU damage if we completely overwrite its extents Add basic support for ValleyView sna: Improve handling of probe failure during initialisation 2.20.8 release sna: Check that we do not keep a GPU bo around after flushing a ShmPixmap sna: Remove special casing of drawing depth=1 glyphs sna/gen7: Add some ring switching sanity checks sna: Add some asserts useful for tracking an xserver drawing bug sna/dri:Add some DBG and assertions to validate names passed back to clients sna/gen3+: Trim the target extents to the CompositeClip sna: Use inplace X tiling for LLC uploads sna: Do not query for the NULL edid property sna: Force an inplace upload if already wedged sna: Force the stall before trying to upload into a busy CPU bo Reorder INTEL_XVMC define so that we pick up Option "XvMC" sna: Add missing protection against int16 overflow when copying sna: Avoid overflows when translating the box16 extents during a copy Allow compilation of a separate i810 driver Silence a couple of potential compiler warnings sna: Check that the CPU bo exists before declaring it is busy along upload sna: Check against op->dst.bo rather than priv->cpu_bo for composite upload sna/dri: Fixup a DBG statement not to print gibberish sna: Remove unused reference to mibstore.h, removed in future Xorg Add miInitializeBackingStore() to compat-api.h sna: Accommodate changes to the Damage extension not unwrapping the GC sna: Make sure the batch is flushed before setting DPMS sna/gen5: Add WA reference uxa: Prevent attempting to call intel_mode_fini() before PreInit runs sna/dri: Handle pending flips when drawable disappears. sna/video: Force integer promotion to avoid u16 overflow for frame size Kill mibstore pretend backwards compatibility sna: Typo in DBG uxa/dri: Confirm Drawable is still attached to an active pipe before flipping uxa: Confirm the pipe is alive before flipping uxa: Do not attempt to pageflip whilst not master uxa: Fixup the last couple of commits after realising I didn't have uxa enabled Remove the last couple of references to mibstore uxa: Update mode->fb_id after completing pageflips sna: Attempt to restore the current mode if pipe is disabled on DPMS on sna/dri: Improve handling of flipping with no outputs sna: Restore LLC cache level after using a buffer for scanout (uncached) uxa: Only destroy the bufmgr if it exists 2.20.9 release sna: Release the front buffer and drop DRM master early during shutdown sna/dri: Swallow error from GetMSC sna: set_cacheing returns a bool not an error-code sna: Make sure the CPU bo is destroyed if we fail to mmap it during alloc sna/dri: Improve handling of async/sync pageflip transition sna/dri: Only chain to a triple buffer pageflip sequence sna: Cache repeated use of the temporary CPU mapping for tiled_x uploads sna/dri: Check back/front buffers of a pixmap for format change sna/gen2: Clear STIPPLE setup before rendering with the 3D pipeline uxa: Remove USE_GLAMOR check from unrealize glyph caches sna: Remember to call ValidatePicture() before using newly created Pictures sna: Avoid accumulating damage to the CPU if it is already damaged sna: Tweak CPU damage partial upload paths sna: Actually upload the damage when replacing a busy CPU bo for PutImage sna: Prevent sna_damage_contains_box__no_reduce() from a NULL deref sna: Review sna_pixmap->cpu tracking sna/dri: Delay the deactivation of the pageflipping sna/gen7: Tidy detection of unbounded render op sna: Fix an instance of undamaged tracking sna: Protect against undefined O_CLOEXEC sna: Clear sna_pixmap->cpu when destroying the CPU damage sna/gen2: Setup invariant blend arguments sna/gen2: Allow fine damage tracking for render operations sna: Avoid using the gpu for uploads whilst wedged sna: Once again look into assertions around sna_pixmap->cpu sna/gen2: Prevent using the GTT maps with I915_TILING_Y on 855gm sna: Propagate failures from compositing glyph masks sna: Remove another sna_pixmap->cpu assertion that was not true sna/gen2: Tidy DBG code for disabling composite operations sna: Refactor the fallback CopyArea to use the common region computation configure: Make rebuilding of the gen4 assembly files explicit sna: Do not create an unsnooped CPU mapping for readbacks sna/gen2: Add a couple of assertions to track down a batch overflow sna/gen2: Compile fix sna/gen2: And the other compile failure Use path for intel-gen4asm derived from pkg-config sna/gen2: Count the number of dwords required for the invariant sna: Only reduce the maximum batch size for old kernels sna: Check that for batch overflows after advancing a BLT sna: Check that we have sufficient space for a copy when replacing a fill sna: Fix check_reloc_and_exec typo sna/gen5: Flush pipelined ops when changing state sna: Pass the region, not its pointer, when moving the GC to the CPU sna: Also check the bg rrop for reads when deciding upon fallback placement sna: Check the map exists before trying to release it sna/gen6+: Initialize the damage for fill-boxes sna: Prevent sign-extension when manipulating strides sna: Use high/low watermarks for fenced aperture counting sna: Limit available space for gen2 sna: Rearrange switch to suppress a compiler warning in sna_copy_plane_blt() sna/gen7: Replace bogus state tracking assertion sna: Correct a bogus assertion after inplace PutImage sna/overlay: Trim suggested BestSize to fit within the overlay constraints 2.20.10 release Cyril Brulebois (1): Fix build failure when passing --with-builderstring. Dave Airlie (7): intel: fix video xvPipe range check intel: add platform probing support. intel/uxa: add pixmap sharing support. intel: add pixmap tracking and scanout support. (v2) intel: query kernel for caps to setup scrn capabilities. intel: fix return value for no pEnt intel: fix fullscreen damage posting on pageflip Eric S. Raymond (1): Fix seriously malformed list syntax on intel(4). Ian Stakenvicius (1): configure: Make udev dependency optional Imre Deak (1): uxa: fix leakage of FB when closing the screen Josh Triplett (1): Fix out-of-tree builds with intel-gen4asm installed Paulo Zanoni (2): Add Haswell PCI IDs Fix possible_clones computation for shared encoders between outputs Сковорода Никита Андреевич (1): uxa: Fix Backlight option support. --- NEWS | 226 +++++ configure.ac | 57 + man/intel.man | 131 +-- src/compat-api.h | 1 src/i915_render.c | 8 src/intel.h | 21 src/intel_display.c | 172 +++- src/intel_dri.c | 45 - src/intel_driver.c | 108 ++ src/intel_driver.h | 39 src/intel_glamor.c | 2 src/intel_memory.c | 6 src/intel_module.c | 196 ++++ src/intel_options.c | 1 src/intel_options.h | 4 src/intel_uxa.c | 89 ++ src/intel_video.c | 7 src/legacy/i810/i810_driver.c | 2 src/legacy/i810/i810_video.c | 4 src/render_program/Makefile.am | 8 src/sna/blt.c | 122 +++ src/sna/brw/brw_disasm.c | 11 src/sna/fb/fb.h | 19 src/sna/fb/fbbitmap.c | 16 src/sna/fb/fbblt.c | 19 src/sna/fb/fbgc.c | 6 src/sna/fb/fbpoint.c | 60 - src/sna/fb/fbpointbits.h | 58 + src/sna/gen2_render.c | 137 ++- src/sna/gen3_render.c | 111 +- src/sna/gen4_render.c | 60 + src/sna/gen5_render.c | 169 ++-- src/sna/gen6_render.c | 336 ++++---- src/sna/gen7_render.c | 397 +++++---- src/sna/kgem.c | 855 ++++++++++++++++----- src/sna/kgem.h | 69 + src/sna/sna.h | 44 - src/sna/sna_accel.c | 1593 +++++++++++++++++++++++++++------------- src/sna/sna_blt.c | 537 +++++++++++-- src/sna/sna_composite.c | 48 - src/sna/sna_damage.c | 56 + src/sna/sna_display.c | 473 +++++++++-- src/sna/sna_dri.c | 489 +++++++----- src/sna/sna_driver.c | 111 +- src/sna/sna_glyphs.c | 844 +++++++++++++-------- src/sna/sna_gradient.c | 3 src/sna/sna_io.c | 332 ++++++-- src/sna/sna_render.c | 154 ++- src/sna/sna_render.h | 13 src/sna/sna_render_inline.h | 47 - src/sna/sna_tiling.c | 1 src/sna/sna_trapezoids.c | 126 ++- src/sna/sna_video.c | 38 src/sna/sna_video_overlay.c | 25 src/sna/sna_video_sprite.c | 13 src/xvmc/shader/mc/Makefile.am | 2 src/xvmc/shader/vld/Makefile.am | 2 test/dri2.c | 4 uxa/uxa-accel.c | 163 ++-- uxa/uxa-glyphs.c | 3 uxa/uxa-priv.h | 1 61 files changed, 6184 insertions(+), 2510 deletions(-) --- -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1vek1a-0004gc...@vasks.debian.org