summaryrefslogtreecommitdiff
path: root/lib/rendercopy_i830.c
diff options
context:
space:
mode:
authorZbigniew Kempczyński <zbigniew.kempczynski@intel.com>2020-01-17 15:14:49 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2020-01-17 21:12:42 +0000
commit621c5d83db5dc573dedcb9f5cc9aa88cb1553a61 (patch)
tree2e87d617fffa247b42e8244cef6d7065299e5e8f /lib/rendercopy_i830.c
parent1b2816124ec3dbd53b81725d39292f45d41d895b (diff)
lib/intel_bufops: Introduce buffer operations
Different GENs supports different tile surfaces. Older GENs have HW fences to allow X / Y surface tiling / detiling. Newer GENs have to tile / detile such surface in software. To make test developer life easier this code adds buffer operations (short buf_ops) to use appropriate functions allowing copying linear buffer to BO and from BO to linear buffer regardless GPU generation and tiling/swizzling within BO. For GENs having fences support preference is to use them if they are available (X / Y tiling is probed on buf_ops initialization). Note: on Gen2 code supports only HW tiling at the moment. Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Katarzyna Dec <katarzyna.dec@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/rendercopy_i830.c')
0 files changed, 0 insertions, 0 deletions