drm/i915/pxp/mtl: Update pxp-firmware response timeout
authorAlan Previn <alan.previn.teres.alexis@intel.com>
Sun, 17 Sep 2023 21:19:31 +0000 (14:19 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Tue, 19 Sep 2023 19:11:18 +0000 (12:11 -0700)
commit8ae272348153ed2fa423f739047a592d9bd55ba2
treebfa8674a4460e83f507c051c35687ab6b5b6c3dd
parent4d938bb93ffd35b1ea664222bb625061d7c4c73b
drm/i915/pxp/mtl: Update pxp-firmware response timeout

Update the max GSC-fw response time to match updated internal
fw specs. Because this response time is an SLA on the firmware,
not inclusive of i915->GuC->HW handoff latency, when submitting
requests to the GSC fw via intel_gsc_uc_heci_cmd_submit helpers,
start the count after the request hits the GSC command streamer.
Also, move GSC_REPLY_LATENCY_MS definition from pxp header to
intel_gsc_uc_heci_cmd_submit.h since its for any GSC HECI packet.

Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: Vivaik Balasubrawmanian <vivaik.balasubrawmanian@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230917211933.1407559-2-alan.previn.teres.alexis@intel.com
drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c
drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.h
drivers/gpu/drm/i915/pxp/intel_pxp_gsccs.c
drivers/gpu/drm/i915/pxp/intel_pxp_gsccs.h