commit | 37f2248e3d422f0463800b574ea9288ede97cea2 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Mar 02 17:22:18 2016 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Mar 04 14:46:52 2016 +0200 |
tree | 1fdb896745b244ebac99576bc64ddb7959459a9c | |
parent | a457f54b293c82fc6b222d9bc59fed4984321d84 [diff] |
drm/i915: Use DIV_ROUND_CLOSEST for PWM calculations Supposedly we would want to get the PWM output as close as possible to the target, so let's round to closest. Cc: Jani Nikula <jani.nikula@linux.intel.com> Suggested-by: Jani Nikula <jani.nikula@linux.intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1456932138-14004-7-git-send-email-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>