drm/i915/guc: Convert guc_ads_private_data_reset to iosys_map
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 16 Feb 2022 17:41:40 +0000 (09:41 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 25 Feb 2022 23:23:24 +0000 (15:23 -0800)
commit98529e950d4cd25c05643f9811e2387df58bc6be
treefaf8fdbb4c4912a6dcc776172f75f05eed59d63e
parent4801b99588a2e022da50e43ec5f768707de3f862
drm/i915/guc: Convert guc_ads_private_data_reset to iosys_map

Use iosys_map_memset() to zero the private data as ADS may be either
on system or IO memory.

Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: John Harrison <John.C.Harrison@Intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220216174147.3073235-10-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c