commit | e36fae3889db38f6cacabea3998b9a09320f2ad2 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Tue Mar 13 12:35:40 2012 +0200 |
committer | Dave Airlie <airlied@redhat.com> | Thu Mar 15 09:49:18 2012 +0000 |
tree | 8f3666f361816d652b172fd9f156ec790ed23d9f | |
parent | 2fcfc75b112e897609faed30bcf80565fb005087 [diff] |
drm: Warn if mode to umode conversion overflows the destination types When converting from a drm_display_mode to drm_mode_modeinfo, print a warning if the the timings values don't fit into the __u16 datatype. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>