]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Use XY_FAST_COLOR_BLT to clear obj on graphics ver 12+
authorRamalingam C <ramalingam.c@intel.com>
Tue, 5 Apr 2022 15:08:33 +0000 (20:38 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Thu, 14 Apr 2022 07:47:05 +0000 (13:17 +0530)
commit98cdea7e4b80672ce55ee20f485db02839a690ed
tree2c1dc9cd3c9f3778cf904158397b985e31abe1eb
parent45ca9db4ddeca8a9d5da505874b0f0a5b3ed8248
drm/i915/gt: Use XY_FAST_COLOR_BLT to clear obj on graphics ver 12+

Use faster XY_FAST_COLOR_BLT cmd on graphics version of 12 and more,
for clearing (Zero out) the pages of the newly allocated object.

XY_FAST_COLOR_BLT is faster than the older XY_COLOR_BLT.

v2:
  Typo fix at title [Thomas]
v3:
  XY_FAST_COLOR_BLT is used only for FLAT_CCS capable gen12+

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Thomas Hellstrom <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220405150840.29351-3-ramalingam.c@intel.com
drivers/gpu/drm/i915/gt/intel_gpu_commands.h
drivers/gpu/drm/i915/gt/intel_migrate.c