bdw: Update obvious missing blit support
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 8 Oct 2013 22:02:07 +0000 (15:02 -0700)
committerBen Widawsky <benjamin.widawsky@intel.com>
Wed, 6 Nov 2013 17:34:35 +0000 (09:34 -0800)
commitf4dfa37e8578419b94a7c84fbcea7d4b70aa68b9
tree61de7af4da15cdedd65af14d20081d0c6e0a9913
parent26f09a91897f6ad66b8fb8e0e5afb4c95954fbd2
bdw: Update obvious missing blit support

This provides a macro that allows us to update all the arbitrary blit
commands we have stuck throughout the code. It assumes we don't actually
use 64b relocs (which is currently true). This also allows us to easily find
all the areas we need to update later when we really use the upper dword.

This block was done mostly with a sed job, and represents the easier
in test blit implementations.

v2 by Oscar: s/OUT_BATCH/BEGIN_BATCH in BLIT_COPY_BATCH_START

CC: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
26 files changed:
benchmarks/intel_upload_blit_large.c
benchmarks/intel_upload_blit_large_gtt.c
benchmarks/intel_upload_blit_large_map.c
benchmarks/intel_upload_blit_small.c
lib/i830_reg.h
lib/intel_batchbuffer.c
lib/intel_batchbuffer.h
lib/intel_reg.h
tests/drm_vma_limiter_cached.c
tests/gem_bad_blit.c
tests/gem_caching.c
tests/gem_cs_prefetch.c
tests/gem_double_irq_loop.c
tests/gem_fenced_exec_thrash.c
tests/gem_hangcheck_forcewake.c
tests/gem_partial_pwrite_pread.c
tests/gem_persistent_relocs.c
tests/gem_reloc_vs_gpu.c
tests/gem_ringfill.c
tests/gem_set_tiling_vs_blt.c
tests/gem_stress.c
tests/gem_tiled_partial_pwrite_pread.c
tests/gem_unfence_active_buffers.c
tests/gem_unref_active_buffers.c
tests/gem_write_read_ring_switch.c
tests/kms_flip.c