• Laurent Pinchart's avatar
    drm: rcar-du: Don't set connector DPMS property · e2f930aa
    Laurent Pinchart authored
    Since commit 4a97a3da ("drm: Don't update property values for atomic
    drivers") atomic drivers must not update property values as properties
    are read from the state instead. To catch remaining users, the
    drm_object_property_set_value() function now throws a warning when
    called by atomic drivers on non-immutable properties, and we hit that
    warning when creating connectors.
    
    The easy fix is to just remove the drm_object_property_set_value() as it
    is used here to set the initial value of the connector's DPMS property
    to OFF. The DPMS property applies on top of the connector's state crtc
    pointer (initialized to NULL) that is the main connector on/off control,
    and should thus default to ON.
    
    Fixes: 4a97a3da ("drm: Don't update property values for atomic drivers")
    Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
    Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    e2f930aa
rcar_du_lvdscon.c 2.51 KB