Skip to content
  • Patrik Jakobsson's avatar
    modesetting: Fix dirty updates for sw rotation · 322d9959
    Patrik Jakobsson authored
    
    
    Rotation is broken for all drm drivers not providing hardware rotation
    support. Drivers that give direct access to vram and not needing dirty
    updates still work but only by accident. The problem is caused by
    modesetting not sending the correct fb_id to drmModeDirtyFB() and
    passing the damage rects in the rotated state and not as the crtc
    expects them. This patch takes care of both problems.
    
    Signed-off-by: default avatarPatrik Jakobsson <pjakobsson@suse.de>
    322d9959