]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use memset64() to prefill the GTT page
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 26 Sep 2017 09:53:53 +0000 (10:53 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Sep 2017 20:00:48 +0000 (21:00 +0100)
commit8661bcde43122ea811b13ecfc2b124844b0675c8
tree6f1a2203d0a7ba0b42983c4321200f0b0e1d9c89
parent26b89e400652fa76bdb3f92e793186660af8f4d5
drm/i915: Use memset64() to prefill the GTT page

Take advantage of optimised memset64() instead of open coding it to
prefill the GTT pages.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20170926095353.11036-1-chris@chris-wilson.co.uk
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/i915_gem_gtt.c