• Ben Skeggs's avatar
    drm/nouveau/disp: fix incorrect/broken hdmi methods · c02f20d3
    Ben Skeggs authored
    These are fixes from Lyude, and were meant to have been included in the
    last round of drm-next patches.
    
    - Fix some nasty memory issues that broke Lyude's display:
      - 0 initialize both nvif args and parsed HDMI infoframe buffers
      - Fixed missing memset(…, 0, …) for nvif args before sending VSI
        infoframe
      - Fixed incorrect data pointer and size in nvkm_uoutp_mthd_infoframe()
        (was previously pointing at the start of the nvif_outp_infoframe_args
        struct instead of at the start of the infoframe data
    - Get rid of duplicated scdc assignments, since we only use it to write the
      scdc registers
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    c02f20d3
uoutp.c 9.66 KB