• Ville Syrjälä's avatar
    drm/i915: Remove framestart_delay sanitation · 6561a9d6
    Ville Syrjälä authored
    Now that we track framestart_delay in the crtc state with readout
    and state checker support we can remove the explicit framestart_delay
    sanitation code.
    
    Also I'm not convinced reprogramming this while the pipe is running
    is even valid. CHICKEN_TRANS (hsw+) and TRANS_CHICKEN2 (cpt+) docs
    at least make no mention of double buffering which seems to imply
    that live reprogramming is not supported. On older platforms
    PIPECONF and PCH_TRANSCONF (ibx) are double buffered though, so
    might be that we could do this on the older platforms. But doesn't
    really make sense to special case old platforms for this.
    
    So from now on if the BIOS has misprogrammed this we shall simply do
    a full modeset at boot to fix it up. Such systems will of course lose
    fastboot, but I think less code (and less uncertainty what
    reprogramming this on a running pipe will even do) outweighs that.
    Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20220221110356.5532-2-ville.syrjala@linux.intel.comReviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
    6561a9d6
intel_display.c 309 KB