drm/i915/ttm: remove calc_ctrl_surf_instr_size
authorMatthew Auld <matthew.auld@intel.com>
Fri, 5 Aug 2022 13:22:39 +0000 (14:22 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Tue, 9 Aug 2022 10:36:19 +0000 (11:36 +0100)
commitdba4d442be8c4d41d3e1ee4f72a2cd8fa524b8cb
tree65ff032fd452f2ca3374564e085bf2c9c5c67f86
parent3d037d99e61a1e7a3ae3d214146d88db349dd19f
drm/i915/ttm: remove calc_ctrl_surf_instr_size

We only ever need to emit one ccs block copy command.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Ramalingam C<ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220805132240.442747-1-matthew.auld@intel.com
drivers/gpu/drm/i915/gt/intel_migrate.c