[Intel-gfx] [PATCH 0/9] drm/i915: modeset probe/remove cleanup, again

Jani Nikula jani.nikula at intel.com
Tue Feb 4 13:42:19 UTC 2020


I've sent iterations of this before, here's the rebased series. It's not
perfect, especially the error paths, but then neither are the current error
paths. It takes a lot of steps towards splitting out modeset probe/cleanup from
the rest.

BR,
Jani.

Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>


Jani Nikula (9):
  drm/i915: register vga switcheroo later, unregister earlier
  drm/i915: switch i915_driver_probe() to use i915 local variable
  drm/i915: split intel_modeset_driver_remove() to pre/post irq
    uninstall
  drm/i915: split i915_driver_modeset_remove() to pre/post irq uninstall
  drm/i915: split i915_driver_modeset_probe() to pre/post irq install
  drm/i915: split intel_modeset_init() to pre/post irq install
  drm/i915: split intel_modeset_init() pre/post gem init
  drm/i915: move more display related probe/remove stuff to display
  drm/i915: remove the now redundant i915_driver_modeset_* call layer

 drivers/gpu/drm/i915/display/intel_display.c |  82 ++++++--
 drivers/gpu/drm/i915/display/intel_display.h |   3 +
 drivers/gpu/drm/i915/i915_drv.c              | 188 +++++++------------
 3 files changed, 141 insertions(+), 132 deletions(-)

-- 
2.20.1



More information about the Intel-gfx mailing list