]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: optimize the ccs_sz calculation per chunk
authorRamalingam C <ramalingam.c@intel.com>
Mon, 2 May 2022 14:26:17 +0000 (19:56 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Tue, 3 May 2022 02:12:02 +0000 (07:42 +0530)
commit4bf4f2a2bd33708c8200103402fea6a68cf9fec8
tree98db6826944e15666024c53d5c1845983418bd33
parent730474eaf649da2d3794892132ba3e0209142764
drm/i915/gt: optimize the ccs_sz calculation per chunk

Calculate the ccs_sz that needs to be emitted based on the src
and dst pages emitted per chunk. And handle the return value of emit_pte
for the ccs pages.

v2:
  ccs_sz moved to the reduced scope [Matt]

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220502142618.2704-3-ramalingam.c@intel.com
drivers/gpu/drm/i915/gt/intel_migrate.c