On Wed, 08 May 2013, Ville Syrj?l? <ville.syrjala at linux.intel.com> wrote: > On Wed, May 08, 2013 at 05:03:31PM +0100, Damien Lespiau wrote: >> +static const char *connector_status_str(enum drm_connector_status status) >> +{ >> + switch (status) { >> + case connector_status_connected: >> + return "connected"; >> + case connector_status_disconnected: >> + return "disconnected"; >> + default: >> + return "unknown"; >> + } >> +} > > drm_get_connector_status_name() ...and export it and use in intel_hpd_irq_event() in i915/i915_irq.c too please. Jani.