drm/atomic-helper: Check encoder/crtc constraints
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Nov 2015 17:46:48 +0000 (18:46 +0100)
committerJani Nikula <jani.nikula@intel.com>
Thu, 19 Nov 2015 15:11:13 +0000 (17:11 +0200)
commit5481c8fb1da2a573861095fbea078f30c664d0bd
treea4cecbec6c186055d530adf546c2bfe3548bd490
parent83926117273cd6d9ffa1b5ff0cc566ad38648b70
drm/atomic-helper: Check encoder/crtc constraints

This was totally lost when I originally created the atomic helpers.

We probably should also check possible_clones in the helpers, but
since the legacy ones didn't do that this is for a separate patch.

Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniel Stone <daniels@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Tested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1447868808-10266-1-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_atomic_helper.c