]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add in-kernel blitter client
authorMatthew Auld <matthew.auld@intel.com>
Wed, 29 May 2019 12:31:08 +0000 (13:31 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 30 May 2019 11:01:44 +0000 (12:01 +0100)
commit5963d78a317bde57858f54cb4e612abb95a291ad
treec3542e21ad1ebd25ce277556aad1d61b99b6109f
parent39d56b83a892fb149f44656a0fe079d1cbcca18a
drm/i915: add in-kernel blitter client

The plan is to use the blitter engine for async object clearing when
using local memory, but before we can move the worker to get_pages() we
have to first tame some more of our struct_mutex usage. With this in
mind we should be able to upstream the object clearing as some
selftests, which should serve as a guinea pig for the ongoing locking
rework and upcoming async get_pages() framework.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: CQ Tang <cq.tang@intel.com>
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/20190529123108.24422-2-matthew.auld@intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/gem/i915_gem_client_blt.c [new file with mode: 0644]
drivers/gpu/drm/i915/gem/i915_gem_client_blt.h [new file with mode: 0644]
drivers/gpu/drm/i915/gem/i915_gem_object_blt.c [new file with mode: 0644]
drivers/gpu/drm/i915/gem/i915_gem_object_blt.h [new file with mode: 0644]
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c [new file with mode: 0644]
drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c [new file with mode: 0644]
drivers/gpu/drm/i915/gt/intel_gpu_commands.h
drivers/gpu/drm/i915/selftests/i915_live_selftests.h