commit | 2465ff6217f1b63e194cfd57018fa42abe7fcdf0 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Jun 18 09:58:55 2015 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Jun 19 17:25:01 2015 +0200 |
tree | 713019f70c7a0cb333f1223beb36a156650296f3 | |
parent | 30c4cf3b53b4a09ca24603dd3c3119433e8ac9d5 [diff] |
drm/atomic: Extract needs_modeset function We use the same check already in the atomic core, so might as well make this official. And it's also reused in e.g. i915. Motivated by Maarten's idea to extract a connector_changed state out of mode_changed. Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-By: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>