diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-03-02 17:22:18 +0200 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-03-04 14:46:52 +0200 |
| commit | 37f2248e3d422f0463800b574ea9288ede97cea2 (patch) | |
| tree | 1fdb896745b244ebac99576bc64ddb7959459a9c /tools/perf/scripts/python | |
| parent | a457f54b293c82fc6b222d9bc59fed4984321d84 (diff) | |
| download | linux-37f2248e3d422f0463800b574ea9288ede97cea2.tar.gz linux-37f2248e3d422f0463800b574ea9288ede97cea2.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
