• Chris Wilson's avatar
    drm/i915: Limit calling mark-busy only for potential scanouts · acb87dfb
    Chris Wilson authored
    The principle of intel_mark_busy() is that we want to spot the
    transition of when the display engine is being used in order to bump
    powersaving modes and increase display clocks. As such it is only
    important when the display is changing, i.e. when rendering to the
    scanout or other sprite/plane, and these are characterised by being
    pinned.
    
    v2: Mark the whole device as busy on execbuffer and pageflips as well
    and rebase against dinq for the minor bug fix to be immediately
    applicable.
    Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    [danvet: fix compile fail.]
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    acb87dfb
intel_display.c 182 KB