• P
    drm/i915: create the DDI encoder · 00c09d70
    Paulo Zanoni 提交于
    Now intel_ddi_init is just like intel_hdmi_init and intel_dp_init: it
    inits the encoder and then calls the proper init_connector functions.
    Notice that for non-eDP ports we call both HDMI and DP connector init,
    so we have 2 connectors attached to each DDI encoder.
    
    After this change, intel_hdmi_init and intel_dp_init are only called
    by Ivy Bridge and earlier, while hardware containing DDI outputs
    should call intel_ddi_init.
    
    Also added/removed quite a few "static" keywords due to the fact that
    some function pointers were moved from intel_dp.c and intel_hdmi.c to
    intel_ddi.c.
    
    DP finally works on Haswell now! \o/
    Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
    Reviewed-by: NDamien Lespiau <damien.lespiau@intel.com>
    Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
    00c09d70
intel_drv.h 23.1 KB