• Daniel Vetter's avatar
    drm/i915/crt: Remove ->mode_set callback · 894ed1ec
    Daniel Vetter authored
    We only set a few bits in the ADPA register, which we then read back
    in the enable/disable hooks. So we can just move that bit of state
    computation code to the place where we need it since setting these
    bits without enabling the CRT encoder has no effects.
    
    The only exceptions are the hotplug bits since they affect the hotplug
    detection logic, but we already set those in the ->reset function and
    then never touch them.
    Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    894ed1ec
intel_crt.c 23.7 KB