commit | 05acaec334fcc1132d1e48c5042e044651e0b75b | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Dec 17 13:56:22 2014 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Dec 17 18:29:28 2014 +0100 |
tree | 79896149d5e2569bdb3167c91ac46d08ce175c4d | |
parent | ef21bf73b9ae1e4b39ff984dc327f185d9c331b3 [diff] |
drm: Reorganize probed mode validation Make drm_mode_validate_size() and drm_mode_validate_flag() deal with a single mode instead of having each iterate through the mode list. The hope is that in the future we might be able to share various mode validation functions between modeset and get_modes. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>