• Ben Skeggs's avatar
    drm/nouveau/disp: add output class · 1b255f1c
    Ben Skeggs authored
    Will be used to more cleanly implement existing method interfaces that
    take some confusing (IEDTkey, inherited from VBIOS, which RM no longer
    uses on Ampere) match values to determine which display path to operate
    on.
    
    Methods will be protected from racing with supervisor, and from being
    called where they shouldn't be (ie. without an OR assigned).
    
    v2:
    - use ?: (lyude)
    v3:
    - fix return code if noacquire() method fails
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    1b255f1c
udisp.c 3.27 KB