• Ben Skeggs's avatar
    drm/nouveau/disp: fix DP disable race · e04cfdc9
    Ben Skeggs authored
    If a HPD pulse signalling the need to retrain the link occurs between
    the KMS driver releasing the output and the supervisor interrupt that
    finishes the teardown, it was possible get a NULL-ptr deref.
    
    Avoid this by marking the link as inactive earlier.
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    e04cfdc9
dp.c 17.5 KB