drm/i915/gt: Use memset_p to clear the ports
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Jan 2020 11:42:34 +0000 (11:42 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Jan 2020 14:38:57 +0000 (14:38 +0000)
commitab17e6caa72c2eb67d8a756ab8778d1d87057726
treeddd8d039b98dffdea9993d78758e0341923e74e3
parent8413502238168561acf1e2137eaea6af4004e506
drm/i915/gt: Use memset_p to clear the ports

Put memset_p to use to clear the array of pointers used for tracking the
ELSP.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200106114234.2529613-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c