• Ben Skeggs's avatar
    drm/nv50-/kms: reject attempts at flipping to incompatible framebuffer · 9ba83106
    Ben Skeggs authored
    Looks like a userspace bug can trigger this somehow during a mode
    switch, causing: EVO complaint -> semaphores get out of sync ->
    entire display stalled.
    
    We likely want to be even stricter than this (or at least deal
    better if EVO rejects our request), but I'll save that for the
    drm_plane/atomic conversion and just fix the bug that I already
    know can be triggered.
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    9ba83106
nv50_display.c 68.7 KB