linux_dsm_epyc7002/drivers/gpu/drm/i915/selftests
Matthew Auld 31444afb46 drm/i915: s/for_each_sgt_dma/for_each_sgt_daddr/
The sg_table for our backing store might contain addresses from
stolen-memory or in the future local-memory, at which point this is no
longer a dma-iterator. As a consequence we should now break on NULL
iter.sgp, instead of dmap == 0 which is considered an invalid dma
address.

As a bonus, gcc much prefers this construct,

  Function                                     old     new   delta
  gen8_ggtt_insert_entries                     211     192     -19
  gen6_ggtt_insert_entries                     292     262     -30
  i915_error_object_create                     996     954     -42

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190829201919.21493-1-matthew.auld@intel.com
2019-08-29 21:59:16 +01:00
..
i915_active.c
i915_buddy.c drm/i915/selftests: cond_resched() within the longer buddy tests 2019-08-29 19:19:50 +01:00
i915_gem_evict.c
i915_gem_gtt.c
i915_gem.c
i915_live_selftests.h
i915_mock_selftests.h
i915_random.c
i915_random.h
i915_request.c drm/i915/selftests: Fixup a couple of missing serialisation with vma 2019-08-21 22:21:57 +01:00
i915_selftest.c
i915_sw_fence.c
i915_syncmap.c
i915_vma.c drm/i915: s/for_each_sgt_dma/for_each_sgt_daddr/ 2019-08-29 21:59:16 +01:00
igt_atomic.h
igt_flush_test.c
igt_flush_test.h
igt_live_test.c
igt_live_test.h
igt_reset.c
igt_reset.h
igt_spinner.c drm/i915/selftests: Fixup a couple of missing serialisation with vma 2019-08-21 22:21:57 +01:00
igt_spinner.h
intel_uncore.c
lib_sw_fence.c drm/i915: Propagate fence errors 2019-08-18 12:38:09 +01:00
lib_sw_fence.h
mock_drm.c
mock_drm.h
mock_gem_device.c
mock_gem_device.h
mock_gtt.c
mock_gtt.h
mock_request.c
mock_request.h
mock_uncore.c
mock_uncore.h
scatterlist.c