drm/xe/guc: Remove explicit shutdown of SLPC
authorVinay Belgaumkar <vinay.belgaumkar@intel.com>
Mon, 25 Mar 2024 23:56:02 +0000 (16:56 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Tue, 26 Mar 2024 22:35:38 +0000 (15:35 -0700)
commit4b217c7fa6ba8b80fcc5cd36086d7ee51b2cc54f
treec8e0a20bd8d71d62e7ab9d3d796e134af4e2e976
parent0bd25f78c4fc97ec61ebaf6147973ddc2e15c7b6
drm/xe/guc: Remove explicit shutdown of SLPC

SLPC shutdown is called in reset and suspend paths. In the reset
path, it is possible that the H2G call gets lost as GuC is in the
process of being reset. There is no value in stopping SLPC when
it will happen anyways.

In the suspend path, we disable communication with GuC, so there
is no need to explicitly shutdown SLPC.

v2: Rebase

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240325235602.1155486-1-vinay.belgaumkar@intel.com
drivers/gpu/drm/xe/xe_guc_pc.c