• Marc-André Lureau's avatar
    drm: copy mode type in drm_mode_connector_list_update() · 3fbd6439
    Marc-André Lureau authored
    In commit 38d5487d, Keith explained:
        This patch simply merges the two mode type bits together; that seems
        reasonable to me, but perhaps only a subset of the bits should be
        used? None of these can be user defined as they all come from
        looking at just the hardware.
    
    However, merging the bits means that a flag becomes sticky. It is not
    possible, for example to update the mode type to remove the
    DRM_MODE_TYPE_PREFERRED bit.
    
    After a brief discussion with Dave Airlie on irc, it was agreed to
    propose that change, instead of introducing another function to remove a
    bit from exisiting modes type.
    Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    3fbd6439
drm_modes.c 35.9 KB