commit | c30f55a7b1336cdfeac74c7931ebff40a32e72b7 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Mon Jun 22 13:37:46 2015 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Jun 22 13:45:33 2015 +0200 |
tree | 13e054921779dcef702c0fe199342ca7dabb55bc | |
parent | ffc5fbdb77e125a5923e3c0ba3fe465b1ebb2c54 [diff] |
drm/atomic: Don't set crtc_state->enable manually The enable field needs to be kept in sync with the mode_blob field. Call drm_atomic_set_mode_prop_for_crtc() instead of setting enable to false in order to dereference the mode blob correctly. v2: - Check the return value of drm_atomic_set_mode_prop_for_crtc() - Drop the num_connectors local variable Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>