]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Optimize the migration and clear loop
authorRamalingam C <ramalingam.c@intel.com>
Tue, 5 Apr 2022 15:08:34 +0000 (20:38 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Thu, 14 Apr 2022 07:50:08 +0000 (13:20 +0530)
commit82f14aea2da5b779072f5433d6b1c02725ce1045
tree3f6e763735cd38ae82a954a37dff518ddc3fc74f
parent98cdea7e4b80672ce55ee20f485db02839a690ed
drm/i915/gt: Optimize the migration and clear loop

Move the static calculations out of the loops for copy and clear.

v2:
  Fix the loss of proper error code on emit_pte

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Thomas Hellstrom <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220405150840.29351-4-ramalingam.c@intel.com
drivers/gpu/drm/i915/gt/intel_migrate.c