drm/xe/guc_pc: Remove duplicated pc_start call
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 6 Mar 2025 22:06:43 +0000 (17:06 -0500)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 7 Mar 2025 16:10:05 +0000 (11:10 -0500)
commitfc858ddf9c68696537cec530d2d48bf6ed06ea92
tree8240e95d431cce7590b7e08f7a042d57f01a61db
parent8e8d76f62329127b31c64a034b052fb9e30e92af
drm/xe/guc_pc: Remove duplicated pc_start call

xe_guc_pc_start() was getting called from both
xe_uc_init_hw() and from xe_guc_start().

But both are called from do_gt_restart() and only
xe_uc_init_hw() is called at initialization.

So, let's remove the duplication in the regular gt_restart
path.

The only place where xe_guc_pc_start() won't get called now
is on the gt_reset failure path. However, if gt_reset has
failed, it is really unlikely that the PC start will work
or is desired.

Cc: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Reviewed-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250306220643.1014049-1-rodrigo.vivi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_guc.c