Re: [PATCH 3/3] drm/i915: hot removal notification to HDMI audio driver

Wu Fengguang
2011-11-18T09:37:40Z

Update: Just tested DP and its working!

However, it's found that hot plug under X won't work...

The previous hot plug tests are done in KMS console which are all
fine: on re-inserting the monitor, ->mode_set will be called and
HDMI/DP audio will be re-enabled and ELD be transfered.

However when in X, ->mode_set won't be called at all. Only
->get_modes and ->detect are called...

Thanks,
Fengguang

On Wed, Nov 16, 2011 at 09:35:48PM +0800, Wu Fengguang wrote:
> Sorry forgot to remove this left over chunk...
>
> Note that I've not yet got the hardware to test the DisplayPort part
> of this patch, but should be able to do so this week.
>
> > --- linux.orig/drivers/gpu/drm/i915/intel_drv.h 2011-11-16 20:54:27.000000000 +0800
> > +++ linux/drivers/gpu/drm/i915/intel_drv.h 2011-11-16 21:19:42.000000000 +0800
> > @@ -382,6 +382,10 @@ extern void intel_fb_restore_mode(struct
> > extern void intel_init_clock_gating(struct drm_device *dev);
> > extern void intel_write_eld(struct drm_encoder *encoder,
> > struct drm_display_mode *mode);
> > +extern void intel_hotplug_status(struct drm_device *dev,
> > + struct drm_connector *connector,
> > + struct drm_crtc *crtc,
> > + enum drm_connector_status status);
> > extern void intel_cpt_verify_modeset(struct drm_device *dev, int pipe);
> >
> > #endif /* __INTEL_DRV_H__ */