lkml.org 
[lkml]   [2014]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 4/4] drm/i915: check LVDS for EDID on GPU switches
Chris Wilson wrote:
> Rather than special casing lvds (especially when there are other panel
> connectors that can also be muxed), extend the connector interface to
> support a reprobe and walk over all connectors associated with i915
> after a switcheroo event.

Okay, so I can see the following get_edid functions:

intel_lvds_get_edid()
intel_crt_get_edid()
intel_sdvo_get_edid()
intel_dp_get_edid()

In the hdmi case, drm_get_edid() is called in two places:
intel_hdmi_detect() and intel_hdmi_detect_audio(); should I factor out
something into a corresponding intel_hdmi_get_edid() function?

Now, in i915_switcheroo_reprobe(), I need to call all these functions,
right? They all accept a a generic drm_connector and an specific
i2c_adapter. But how do I do that without exporting each of these
functions and their adapters?

Thanks.


\
 
 \ /
  Last update: 2014-01-07 14:41    [W:0.057 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site