• Paulo Zanoni's avatar
    drm/i915: fix checks inside haswell_crtc_{enable, disable} · 1f544388
    Paulo Zanoni authored
    These functions were forked from their Ironlake versions, so now fix
    the gen checks to reflect the fact that they will only run on Haswell.
    
    It is worth noticing that we are not considering IBX/CPT possible on
    Haswell anymore. So far on Haswell enablement we kept trying to still
    consider IBX/CPT as a possibility with a Haswell CPU, but this was
    never tested, I really doubt it will work with the current code and we
    don't really have plans to support it. Future patches will remove the
    IBX/CPT code from other Haswell functions. Notice that we still have a
    WARN on haswell_crtc_mode_set in case we detect non-LPT PCH.
    Signed-off-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
    Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    1f544388
intel_display.c 238 KB