All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH] drm/i915/pxp: don't start pxp without mei_pxp bind
@ 2022-08-09 22:57 Juston Li
  2022-08-09 23:10 ` Ceraolo Spurio, Daniele
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Juston Li @ 2022-08-09 22:57 UTC (permalink / raw)
  To: intel-gfx; +Cc: alan.previn.teres.alexis

pxp will not start correctly until after mei_pxp bind completes and
intel_pxp_init_hw() is called.

Signed-off-by: Juston Li <justonli@google.com>
---
 drivers/gpu/drm/i915/pxp/intel_pxp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/pxp/intel_pxp.c b/drivers/gpu/drm/i915/pxp/intel_pxp.c
index 15311eaed848..3ef9e4e1870b 100644
--- a/drivers/gpu/drm/i915/pxp/intel_pxp.c
+++ b/drivers/gpu/drm/i915/pxp/intel_pxp.c
@@ -184,7 +184,7 @@ int intel_pxp_start(struct intel_pxp *pxp)
 {
 	int ret = 0;
 
-	if (!intel_pxp_is_enabled(pxp))
+	if (!intel_pxp_is_enabled(pxp) || !pxp->pxp_component_added)
 		return -ENODEV;
 
 	mutex_lock(&pxp->arb_mutex);
-- 
2.37.1.559.g78731f0fdb-goog


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-08-10  1:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-09 22:57 [Intel-gfx] [PATCH] drm/i915/pxp: don't start pxp without mei_pxp bind Juston Li
2022-08-09 23:10 ` Ceraolo Spurio, Daniele
2022-08-09 23:20   ` Juston Li
2022-08-09 23:23     ` Ceraolo Spurio, Daniele
2022-08-09 23:30       ` Juston Li
2022-08-09 23:51 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2022-08-10  1:41 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.