]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/mst: Hookup DRM DP MST late_register/early_unregister callbacks
authorLyude Paul <lyude@redhat.com>
Tue, 10 Mar 2020 19:51:21 +0000 (15:51 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 10 Mar 2020 20:22:35 +0000 (16:22 -0400)
commitee4f6c8ae7f11787e516e60933eb3c3e64f6277b
tree5da43f6bcb7ef34afaf39d7839684e4a07d73739
parent570219e734c6ff959806ed7f09fbab1e3fcebd2c
drm/i915/mst: Hookup DRM DP MST late_register/early_unregister callbacks

i915 can enable aux device nodes for DP MST by calling
drm_dp_mst_connector_late_register()/
drm_dp_mst_connector_early_unregister(),
so let's hook that up.

Changes since v1:
* Call intel_connector_register/unregister() from
  intel_dp_mst_connector_late_register/unregister() so we don't lose
  error injection - Ville Syrjälä
Changes since v2:
* Don't forget to clean up if intel_connector_register() fails - Ville

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: "Lee, Shawn C" <shawn.c.lee@intel.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200310195122.1590925-1-lyude@redhat.com
drivers/gpu/drm/i915/display/intel_dp_mst.c