1. 27 Mar, 2012 12 commits
  2. 26 Mar, 2012 1 commit
    • Chris Wilson's avatar
      drm/i915: Batch copy_from_user for relocation processing · 1d83f442
      Chris Wilson authored
      Originally the code tried to allocate a large enough array to perform
      the copy using vmalloc, performance wasn't great and throughput was
      improved by processing each individual relocation entry separately.
      This too is not as efficient as one would desire. A compromise would be
      to allocate a single page, or to allocate a few entries on the stack,
      and process the copy in batches. The latter gives simpler code and more
      consistent performance due to a lack of heuristic.
      
      x11perf -copywinwin10:	n450/pnv	i3-330m		i5-2520m (cpu)
                     before: 	  249000	 785000		 1280000 (80%)
                       page:	  264000	 896000		 1280000 (65%)
                   on-stack:	  264000	 902000		 1280000 (67%)
      
      v2: Use 512-bytes of stack for batching rather than allocate a page.
      v3: Tidy the code slightly with more descriptive variable names
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      1d83f442
  3. 25 Mar, 2012 2 commits
  4. 24 Mar, 2012 1 commit
  5. 23 Mar, 2012 3 commits
  6. 22 Mar, 2012 4 commits
  7. 20 Mar, 2012 5 commits
  8. 18 Mar, 2012 7 commits
  9. 02 Mar, 2012 2 commits
  10. 01 Mar, 2012 2 commits
  11. 29 Feb, 2012 1 commit