• Daniel Vetter's avatar
    drm/i915: introduce crtc->dspaddr_offset · e506a0c6
    Daniel Vetter authored
    To avoid recomputing the display framebuffer offset on gen2/3
    pageflips. This is also prep work to do similar trickery on gen4+
    
    Also:
    - kill "Start", such upper-case remnants from the ddx must surely die.
    - rename "Offset" to linear_offset, to make it clearer that on gen4+
      this is only used by the hw for linear buffers, for tiled buffers it
      uses the TILEOFF register.
    - call DSAPADDR DSPLINOFF on gen4+ for the same reason (and because
      the documentation really renamed the register).
    Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    Signed-Off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    e506a0c6
intel_drv.h 17.2 KB