diff --git a/drivers/gpu/drm/i915/pxp/intel_pxp.c b/drivers/gpu/drm/i915/pxp/intel_pxp.c index 5204d656b18e..6cca9291ac63 100644 --- a/drivers/gpu/drm/i915/pxp/intel_pxp.c +++ b/drivers/gpu/drm/i915/pxp/intel_pxp.c @@ -747,7 +747,7 @@ static int pxp_query_tag(struct intel_pxp *pxp, struct prelim_drm_i915_pxp_ops * ¶ms.pxp_tag); drm_info(&pxp->ctrl_gt->i915->drm, - "Queried tag (is_alive %d pxp_tag %d ret %d)\n", + "SJ Queried tag (is_alive %d pxp_tag %d ret %d)\n", params.session_is_alive, params.pxp_tag, ret); if (ret >= 0) { @@ -838,6 +838,8 @@ int i915_pxp_ops_ioctl(struct drm_device *dev, void *data, struct drm_file *drmf struct intel_pxp *pxp = i915->pxp; intel_wakeref_t wakeref; + drm_info(&i915->drm, "SJ: i915_pxp_ops_ioctl started\n"); + if (!intel_pxp_is_enabled(pxp)) return -ENODEV; @@ -848,6 +850,8 @@ int i915_pxp_ops_ioctl(struct drm_device *dev, void *data, struct drm_file *drmf return 0; } + drm_info(&i915->drm, "SJ: intel_runtime_pm_get_if_in_use finished\n"); + if (pxp_action_needs_arb_session(pxp_ops->action)) { if (pxp->hw_state_invalidated) { drm_err(&i915->drm, @@ -862,9 +866,11 @@ int i915_pxp_ops_ioctl(struct drm_device *dev, void *data, struct drm_file *drmf drm_err(&i915->drm, "Failed to start PXP\n"); goto out_pm; } + drm_info(&i915->drm, "SJ: intel_pxp_start finished\n"); } } + drm_info(&i915->drm, "SJ: mutex_lock started\n"); mutex_lock(&pxp->session_mutex); if (HAS_ENGINE(pxp->ctrl_gt, GSC0)) { @@ -898,6 +904,8 @@ int i915_pxp_ops_ioctl(struct drm_device *dev, void *data, struct drm_file *drmf out_pm: intel_runtime_pm_put(&i915->runtime_pm, wakeref); + drm_info(&i915->drm, "SJ: i915_pxp_ops_ioctl finished\n"); + return ret; }