All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH] drm/i915: Flush async power domains on probe failure
@ 2020-04-10 14:43 Chris Wilson
  2020-04-10 15:16 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Chris Wilson @ 2020-04-10 14:43 UTC (permalink / raw)
  To: intel-gfx; +Cc: Jani Nikula, Chris Wilson

Flush the async power domain work after aborting the module probe:

<3> [307.785552] ODEBUG: free active (active state 0) object type: timer_list hint: intel_display_power_put_async_work+0x0/0xf0 [i915]

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/1647
Fixes: b664259f3fe2 ("drm/i915: split i915_driver_modeset_probe() to pre/post irq install")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Imre Deak <imre.deak@intel.com>
---
 drivers/gpu/drm/i915/i915_drv.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index a7a3b4b98572..13c1ce244092 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -996,6 +996,7 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 out_cleanup_modeset:
 	/* FIXME */
 out_cleanup_hw:
+	intel_power_domains_driver_remove(i915);
 	i915_driver_hw_remove(i915);
 	intel_memory_regions_driver_release(i915);
 	i915_ggtt_driver_release(i915);
-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2020-04-14 13:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-10 14:43 [Intel-gfx] [PATCH] drm/i915: Flush async power domains on probe failure Chris Wilson
2020-04-10 15:16 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2020-04-10 15:40 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2020-04-10 19:09 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2020-04-10 19:41 ` [Intel-gfx] [PATCH] " Souza, Jose
2020-04-14 12:32   ` Jani Nikula
2020-04-14 13:17     ` Chris Wilson

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.