[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xserver-xorg-video-intel: Changes to 'refs/tags/2.21.10'



Tag '2.21.10' created by Chris Wilson <chris@chris-wilson.co.uk> at 2013-06-22 12:52 +0000

Intel 2.21.10 release

Changes since 2.21.1:
Aaron Plattner (1):
      uxa: don't crash when freeing an uninitialized screen

Carl Worth (1):
      Refuse to load driver for depth-8 X server.

Chris Wilson (336):
      2.21.1 release
      NEWS: fix bug url
      sna: Restore glyphs with xorg-1.12
      2.21.2 release
      configure: Add -lX11 required to link the legacy libI810XvMC.so
      sna/dri: Only clear the GPU bo flush flag when the last export is destroyed
      sna: Avoid stalling for changing cache levels on an active scanout
      sna: Assert that we do not destroy a GPU bo for an active DRI pixmap
      sna/dri: Tighten the assertions that we have one DRI2Buffer per Pixmap
      sna/dri: Couple up the flush pixmap after checking for allocation failures
      sna/dri: Ignore a compiler barf breaking an assertion
      sna: Fix inaccurate use of __attribute__((const))
      NEWS: Fix marketing name for 945gm
      sna/dri: Harden the replacement of the back buffer against alloc failure
      sna/dri: Update flush status for tear-free exported GPU bo
      sna/dri: Assert that the old scanout is clear before overwriting
      sna/dri: Assert that we are not passed deceased DRI2Buffers
      sna: Only use the inplace read fallback if we have no CPU bo support
      sna: Prefer inplace readback if the GPU doesn't support cacheable BLTs
      sna/dri: Validate that the scanout flag is set
      sna: Handle scanouts still active at the time of destruction
      sna/dri: Fix typo limiting gen4 to TILING_X depth buffers
      Revert "sna: Avoid promoting SHM CPU bo to GPU to maintain coherence with SHM clients"
      sna: Avoid stalling on a SHM upload when otherwise idle
      sna/gen4: Restore nonrectiinear spans workaround
      NEWS: Fix a couple of typos and factual errors
      NEWS: Xserver 1.6 was not packaged in Xorg 7.7
      Confirm that i915.ko has KMS enabled before binding to the device
      sna/dri: Prevent swapping a decoupled DRI2Buffer
      sna: A couple more assertions that we forcibly attach pixmaps correctly
      sna: Assert that the gpu_bo exists if it is entirely damaged
      sna: Assert that the GPU damage is NULL before destroy a proxy
      test: Add generated vsync.avi to gitignore
      sna/video: Only setup XvMC if we first setup Xv
      sna/trapezoids: Perform the cell allocation upfront
      sna/trapezoids: Embed a few cells into the stack
      sna/trapezoids: Clamp cells to valid range
      2.21.3 release
      sna: Honour LinearFramebuffer
      sna: Always enable the solid-cache and gradient-cache
      sna/dri: Eradicate the DRI2 name exchange mechanism
      sna/gen7: Only a pipeline stall is required for the CA pass
      sna/gen7: Skip CLEAR_PARAMS for the null depthbuffer
      sna: Avoid migrating and making the GPU bo busy prior to mmapping it
      sna: Optimise mmap of GPU bo for read-read operations
      sna: Allow picture fixup in channel format if not changing RGB depth
      sna: Allow search_linear_cache() to reuse large buffers
      sna: Retire before looking for a large 2D buffer
      sna: Refuse to create larger than max temporary upload bo
      sna: Tidy a call to set the gamma before setting up a CRTC
      sna: Reduce DefaultDepth to 16 on older chipsets
      sna/gen3: Factor out the per-vertex divide for gradients
      sna/trapezoids: Instruct the compiler to flatten the callees whilst rasterising
      sna/gen3+: Assert that nbox is not 0
      sna/gen3+: Restart vertex space checks after lock contention
      sna: Detect available instruction sets at runtime
      test: Correct ignore path for async.avi
      sna/gen4+: Begin specialising vertex programs for ISA
      sna: Reverse inverted assertions
      sna: Fix build on older GCC for cpuid()
      sna: Print detected CPU features
      sna/gen3: Allow conditional use of SSE2
      sna: Ignore SSE4a - not an Intel ISA!
      sna: Mention if compiled as 64bit as part of the CPU feature detection
      sna: Only use the GPU bo after migrating
      sna/gen4+: All associated CPUs have sse2 at least
      sna/gen4: Cluster ISA
      sna: Conditionally compile avx routines
      sna: Conditionally compile sse4_2 routines
      sna: Conditionally compile sse2 routines
      sna: Bump required GCC for sse2
      sna: Flatten unaligned box emission
      sna: Improve handling of migrated userptr bo
      sna/trapezoids: Add a pair of unlikely hints for forced box emission
      sna/gen3: Expand the number of SSE2 routines for basic composite ops
      sna: Flatten the glyph emitters
      sna: Force GCC to use the SSE unit for SSE2 routines
      sna/gen2: Add SSE2 fast paths for vertex emission
      sna: Migrate dirty tracking across ScreenPixmap updates
      sna: Remove the trailing '.' from the previous commit
      sna: Improve compatibility of cpuid.h detection
      sna: Prettify GCC version detection in headers
      sna/dri: Fix use of uninitialised pipe along error path
      sna: Fix syntax for __get_cpuid()
      sna/video: Correct scaling of source offsets
      sna: Track number of pixmaps allocated whilst counting bo leaks
      sna: Use depth-15 rather than depth-16 for reduced bw devices
      sna: Move some conditional code out-of-line
      sna: Assert that the ScrnInfo and ScreenPtr relationship is correct
      sna: Assert that we do not resurrect stale pixmap across a server regen
      sna: Assert that when caching a pixmap header the pScreen match
      sna: Assert that inplace operations are done on coherent maps
      sna: Chain up CloseScreen
      Fix Haswell CRW PCI-IDs
      sna: Eliminate a few used-once local variables
      sna/dri: Guard against failed batch submission
      sna: Probe for kernel support of framebuffer formats
      sna: Undo preferred depth for gen3
      sna: CPUID return ISA features in ecx/edx
      sna/gen3: Add some debug around rendercopies of the fbcon
      sna/gen3: Correct typo in assertion
      sna: Nullify cache pointers upon server regen
      sna: Only destroy the cached CLEAR picture if it exists
      sna/gen3: Perform alpha-fixup upon copy sources
      sna/gen3: Always prefer BLT for copies
      sna: Ensure we do not attempt to operate inplace on a very large pixmap
      sna: Drop a local variable only used to hold a constant
      sna: Ensure that the tearfree swap is unmapped afterwards
      sna: Be explicit when checking for an idle bo after CPU synchronisation
      sna: Prefer GPU for self-copies when undamaged on the CPU
      sna: Refactor the is-mappable test for inplace operations
      sna: Fix deference of just nullified GPU bo in previous commit
      sna: Use drawable_gc_flags() to select placement for PolyArc
      sna: The GPU bo submit is still required before mapping for inplace operations
      sna: Assert that the pixmap is not pinned before releasing the GPU bo
      sna: Typo ('unsuported') in DBG messages
      sna: Lighten the wakeup handler slightly
      sna: Disable read-read optimisations
      intel: Relax the has-kms test slightly
      sna: Return early if there are no outputs to setup
      sna: Supply a fake pipe to run completely headless
      sna: Disambiguate sna_crtc_resize()
      sna: Remove the unused output and crtc lists
      sna: Trim tile sizes to fit aperture constraints
      sna: Fallback if we cannot fit the tiling copy into the aperture
      sna/gen4: Initialise a pair of unimportant variables
      sna: Only shrink the maximum GPU size to fit into cache
      sna/dri: Add a couple more basic assertions
      sna/dri: Flatten _sna_dri_destroy_buffer()
      sna: Tweak CPU mappings to be only used if a read is required
      sna: Tighten checking for coherent maps
      2.21.4 release
      test: Try to exercise races between DRI2SwapBuffers and CloseWindow
      sna/dri: Reorder assert to avoid NULL dereference
      sna/dri: Free chained swaps upon CloseWindow
      sna/dri: Free the event on the impossible error path
      sna: Mark the userptr as a CPU mapping
      sna: Only allocate addition space if we need pixel data
      sna: Improve sna_copy_boxes DBG by printing the bo handles
      sna: Apply the source offset to the transform when fixing up gradients
      sna: Mark redirect proxies with a unique id
      sna: Improve asserts that the CPU bo is not busy after synchronisation
      sna: Missing git-add for 09862a85eba243b
      uxa/glamor: Prevent a crash when trying to load a misconfigured glamor
      sna/gen3: Reduce another use of transforms
      sna/gen3: Tweak code generation for gen3_emit_composite_primitive_identity_gradient__sse2
      sna/gen3: Tweak code generation for gen3_emit_composite_primitive_constant__sse2
      sna/gen4: Tweak compilation flags to avoid mixed settings across functions
      sna/trapezoids: Correct ordering of points within TriFran
      sna/trapezoids: Minimally replace points for TriFan
      sna: Add a few more assertions to track userptr through the caches
      sna: Use userptr downloads for incomplete GPU damaged pixmaps
      sna: Add handle info to sync DBG
      sna: Consider placement hints when choosing userptr read path
      sna/gen5+: Add missing float casts in computation of scaled src offsets
      sna: Add an LLC path for creating snoopable buffers
      sna/dri: Clear flush flag upon bo destroy
      sna: Don't remove the flush flag for userptr bo
      sna/dri: Fix stale Pixmap detection
      sna: Skip processing an all-clipped-out glyph
      sna: Add a pair of sanity checks before creating the redirection target
      sna: Reset operation state between glyphs
      sna: Ignore vsync waits on tiny scanline ranges
      sna: Haswell reintroduces MI_LOAD_SCAN_LINES
      2.21.5 release
      sna/dri: Disable assertion and associated bookkeeping
      sna: Fix computation of clip extents for stippling
      sna: Add backlight control implementation
      sna: Fix assertions that the pixmap points into the CPU bo for fallbacks
      sna: Fix an assertion to check the correct bo
      sna: Convert out-of-bounds sample to CLEAR
      Remove the GeneralSocket upon CloseScreen
      sna: Trim removed fields from execbuffer2 for OpenBSD support
      sna: AVX2 is in the ebx result of cpuid
      sna/gen4+: Add a couple more advanced SSE variants for composite vertices
      sna: Fix AVX2 detection
      sna: Check for OS support of AVX/AVX2 before use
      sna/gen4+: Reorder code to compile on squeeze
      sna: Add extra '()' around bitwise &/&& for CPU feature detection
      sna/gen7: Use GT2 values for GT2 variants
      sna/gen7: Prefer spans for GT2 desktop variants
      sna/gen7: Restore render acceleration for VLV power-on board
      sna/gen7: Fix MOCS for Haswell
      sna/gen4+: Set read-write allocation mode for the target render cache
      sna/gen7: Resist the temptation to overprogram the number of PS threads for HSW
      sna/gen7: Refine is_gt2() for Haswell versus Ivybridge
      sna: Allow the compiler to inline memcpy for the bitblt routines
      sna: Try to eliminate pending operations to the bo being replaced
      DRI2GetMSC: Do not send a bogus ust for when the drawable is not displayed
      sna/gen4: Break the Video rendering loop into 16 rectangle chunks
      sna/gen4: Kill stray debugging ErrorF from previous commit
      sna: Relax scanline waits on HSW to be emittable from either ring
      sna: Adjust userptr structure for implicit padding
      sna: Restore bo->flush status for large bo
      sna: Improve assertions to detect rogue priv->cpu status
      configure: Allow valgrind support to be manually enabled
      2.21.6 release
      sna: Remove assertions for mapped GPU bo if priv->cpu after GPU bo creation
      sna/video: Expand passthrough support for overlay planes
      sna/video: Textured video passthrough no longer relies upon XvMC
      sna: Document fence limits for gen4+
      sna: Add a DBG option for testing userptr more thoroughly
      sna: Suppress hotplug events whilst VT switched away
      sna/xvmc: Wrap each output adaptor
      sna: Align uploads to start on page boundaries
      sna/gen7: Cache our kernels in L3
      sna: Refine assertion about the existence of CPU damage when GPU damaged
      sna/gen5: Force a MI_FLUSH between using the BLT and RENDER engines
      sna: Flush the scanout cache after resizing the display
      sna: Add missing ';'
      sna/xvmc: silence a compiler warning
      sna: Only release the scanout cache whilst DRM_MASTER
      sna: Add VALGRIND_CFLAGS whilst compiling with --enable-valgrind
      xgvevent
      Prefer i830_dri.so for gen2 chipsets
      Revert "xgvevent"
      sna: Rephrase initialisation without a specific backend
      sna: Prevent accessing an uninitialised region in move_area_to_gpu()
      uxa/dri: Fix compile error for unknown 'bool'
      Add all reserved PCI-IDs for Haswell
      sna: Page align requests to userptr
      sna: Be careful not to preemptively upload portions of a SHM pixmap
      sna: Do not attempt to clean an active scanout
      sna: Handle cached upload buffers for partial migration to GPU
      sna: Add DBG statements for choice of spans vertex emitter
      sna/gen7: Add DBG for channel setup for render source
      sna: Add more debugging to unaligned trapezoids
      sna/trapezoids: Fix the determination of the trapezoid origin
      sna/gen4: Drop unused gen parameter to SF state setup
      sna/gen4: Tidy testing for an active vertex buffer id
      sna: Attempt to discard overwritten operations before CopyArea
      sna: Propagate clear color when replacing by a CopyArea
      sna: Propagate clears when using the BLT composite routines
      sna: Basic copy-on-write support for cloning pixmaps
      sna: Assert that the mapping is released before closing the GEM handle
      sna: Correct assertions to allow discarding of cpu hint for inplace ops
      sna: Clear mapped hints upon cloning a pair of pixmaps
      sna: Avoid replacing pinned bo when undoing a clone
      sna: Transfer ownership of the cloned bo to the pixmaps
      sna: Undo the clone when replacing the DRI pixmap
      sna: Add the missing ref(bo) when undoing the source clone
      sna: Clear the cow_list when discarding the clone upon pixmap destroy
      sna: Undo a few more overwritten operations upon a bo
      2.21.7 release
      sna: Re-enable read-read optimisations
      sna/video: Convert to a pure Xv backend
      sna: Warn about the consequences of disabling tiling
      sna: Fix DBG typo and so fix build with --enable-debug
      sna: Remove the overzealous assert
      sna: Only flags the PolyFillRect as REPLACES if it is unclipped
      sna: Check for NULL damage before dereferencing
      sna: Correct assertion for reusing COW
      sna: Do make a clone of a GPU bo that is itself a cache
      sna: Discard COW before migrating CPU damage to the GPU
      sna: Do not undo a bo if we may fallback
      sna: Reenable COW support
      sna: Reorder cleanup of flush list and CPU bo to silence an assertion
      sna: Log when the framebuffer changes size
      sna: Fix cut'n'paste compile error from previous commit
      sna: Free the released COW reference when uncloning
      2.21.8 release
      sna/video: Correct interpretation of 'sync'
      test: Add an easily visible tearing test for video playback
      sna: Call mode update after disabling outputs upon VT switch
      sna: Make the backend identifier more informative
      Add the known marketing names for the performance Haswell parts
      sna: Sanity check that CRTC / output combination is valid
      sna: Log which outputs are being configured during a modeset
      sna: Report allocations failures during Screen initialisation
      sna: Cleanup up error reporting after failure to init KMS interface
      sna: Assert that an existing scanout is the desired size
      sna: Restore GPU promotion for large fills
      sna: Compile fix for non-debug builds
      sna/dri: Reorder assert not to fail on a pageflip deferred to after a modeset
      sna: Prevent adding damage to an already all-damaged GPU bo
      sna: Add some more DBG hints to copy-on-write cloning
      sna/dri: Undo any COW before performing a copy with DRI2CopyRegion
      sna: Make copying the glyph size more compact
      sna: Always populate the CPU features string
      sna: Do not conflate ignoring an output with an allocation failure
      sna/video: Fix redundant initialisation of video->clip
      sna: Include the GT details in the backend name for a chipset
      sna: Only emit an error for terminal mmap failures
      2.21.9 release
      sna: Fix format specifier for mismatching int/long in DBG
      sna/dri: Handle fast double flips across mode changes
      sna/dri: Make the fallback blit async again
      sna/video: Fixup formats to select visuals
      sna/video: Select vsync by default based on "SwapbuffersWait"
      sna/dri: Do not decouple the flip after chaining up a blit
      sna/dri: Fix transcription error in commit ab47433b20
      sna/dri: Check rather than assert for a change in back/front sizes
      sna: Track when we write directly to bo through the GTT
      sna: Set the needs_flush flag on the bo when the scanout is dirty
      sna: Streamline connector probing
      sna: Keep the cached EDID if it hasn't changed
      sna: Make sure all sna_write_boxes* flag the GTT is dirty
      sna: s/bo->dirty/bo->gpu_dirty/ to avoid later confusion
      sna: Move the GTT dirty tracking from the pixmap to the bo
      sna: Tidy batch submission around CRTC updates
      sna: Make sure the source is coherent on the CPU before uploading
      sna: Mollify an assert to allow us to call busy_ioctl on a GTT write
      sna: Make sure the source is coherent on the CPU before uploading
      sna: Allow the throttling to be woken by SIGINT
      sna/video: Catch allocation failure whilst setting up the TexturedAdaptor
      sna/video: Free the private video (adaptor/port) arrays upon CloseScreen
      sna: Do not enlarge the read back region if there is already CPU damage
      sna/gen2+: Promote a conditional dirty into an assertion
      sna/gen7: Set sampler swizzle for video sources
      sna: Tighten a few asserts on pixmap migration
      sna/gen3+: Remove redundant clearing of clear hint in video playback
      sna: Be explicit in not marking an upload buffer as being on the cpu
      sna: Refactor scanout flushing
      sna: Unwrap proxies for subpage offset SHM pixmaps during sync
      sna: Mark the base bo as unreusable for temporary mappings
      sna: Try falling back through an upload if inplace mapping fails
      sna: Do not sync after a failed mapping
      sna: Add extra assertions to sanity check CPU access is coherent
      sna: Specialise mi calls to PolyFillRect
      sna: Allow wedged pixmaps to be accessed via GTT
      sna: Assert that the scanout fits within the allocated buffer
      sna: Apply scanout stride limits to tiling selection
      sna: Switch to a per-crtc pixmap if the pitch exceeds scanout limitations
      Revert "sna: Apply scanout stride limits to tiling selection"
      sna: Fix the pitch limits for gen3 scanout
      sna: Tidy a redundant conditional for CopyArea
      sna: Fix tiled scanout limits for Valleyview
      sna: Promote the CopyArea to the GPU if it subsumes the CPU damage
      sna: Mark overwriting CopyArea as not needing the dst damage
      sna: Fix inspection of transfer extents for deciding transport
      sna: Check if we may want to simply upload for a CopyArea
      sna: Inspect availablity of render before prefering to use the GPU
      sna: Allow PutImage to write inplace using manual tiling
      sna: Determine swizzling once during initialisation and choose memcpy_to_tiled_x
      sna: Refine the self-cow copy hack to reduce collateral damage
      2.21.10 release

Damien Lespiau (1):
      uxa/gen7: Don't use a message register to store vl

Daniel Vetter (1):
      sna: fixup up possible_clones kms->X impedance mismatch

Jonathan Gray (1):
      configure: test for librt (clock_gettime)

Mark Kettenis (3):
      uxa: Add OpenBSD backlight control implementation
      sna: Fix OpenBSD backlight control implementation
      sna: Use a more portable way to determine total RAM size

Rodrigo Vivi (3):
      Fix Haswell GT3 names.
      Adding more reserved PCI IDs for Haswell.
      Add more correct names for Haswell.

---
 Makefile.am                                  |    2 
 NEWS                                         |  260 +++
 configure.ac                                 |   37 
 m4/ac_define_dir.m4                          |   49 
 src/Makefile.am                              |    1 
 src/compat-api.h                             |    3 
 src/intel_display.c                          |   77 -
 src/intel_dri.c                              |   29 
 src/intel_driver.c                           |    6 
 src/intel_driver.h                           |   63 
 src/intel_glamor.c                           |   37 
 src/intel_module.c                           |  126 +
 src/render_program/exa_wm_src_projective.g7a |    4 
 src/render_program/exa_wm_src_projective.g7b |    2 
 src/sna/Makefile.am                          |    6 
 src/sna/blt.c                                |  326 +++-
 src/sna/compiler.h                           |   25 
 src/sna/fb/fbpict.c                          |    5 
 src/sna/fb/fbpict.h                          |   20 
 src/sna/gen2_render.c                        |  330 ++++
 src/sna/gen3_render.c                        | 1460 ++++++++++++++++---
 src/sna/gen4_render.c                        |  147 +
 src/sna/gen4_vertex.c                        | 2008 +++++++++++++++++++++++----
 src/sna/gen4_vertex.h                        |    4 
 src/sna/gen5_render.c                        |   77 -
 src/sna/gen6_render.c                        |   81 -
 src/sna/gen7_render.c                        |  214 ++
 src/sna/gen7_render.h                        |    2 
 src/sna/kgem.c                               |  529 +++++--
 src/sna/kgem.h                               |   78 -
 src/sna/sna.h                                |   86 -
 src/sna/sna_accel.c                          | 1212 ++++++++++++----
 src/sna/sna_blt.c                            |   88 -
 src/sna/sna_composite.c                      |   32 
 src/sna/sna_cpu.c                            |  132 +
 src/sna/sna_damage.c                         |    5 
 src/sna/sna_display.c                        | 1044 +++++++++-----
 src/sna/sna_display_fake.c                   |  309 ++++
 src/sna/sna_dri.c                            |  617 ++++----
 src/sna/sna_driver.c                         |  121 +
 src/sna/sna_glyphs.c                         |   41 
 src/sna/sna_gradient.c                       |   10 
 src/sna/sna_io.c                             |  128 -
 src/sna/sna_render.c                         |  152 +-
 src/sna/sna_render.h                         |   18 
 src/sna/sna_render_inline.h                  |   14 
 src/sna/sna_tiling.c                         |   32 
 src/sna/sna_trapezoids.c                     |  351 +---
 src/sna/sna_video.c                          |  218 ++
 src/sna/sna_video.h                          |   66 
 src/sna/sna_video_hwmc.c                     |   83 -
 src/sna/sna_video_hwmc.h                     |    4 
 src/sna/sna_video_overlay.c                  |  389 ++---
 src/sna/sna_video_sprite.c                   |  317 ++--
 src/sna/sna_video_textured.c                 |  318 +---
 test/.gitignore                              |    1 
 test/Makefile.am                             |    5 
 test/dri2-race.c                             |  113 +
 test/tearing.mp4                             |binary
 59 files changed, 8899 insertions(+), 3015 deletions(-)
---


Reply to: