diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-02-27 14:23:14 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-05 21:30:32 +0100 |
commit | 619d4d04723346bf6ca3273668e0ba2582e8de36 (patch) | |
tree | e59a2336c3baf70ff2008fc0abd335ac91e48efe /tools/perf/scripts/python/syscall-counts.py | |
parent | 8f7abfd82246a8d8b5bd1ad3056f3b46345b6b4a (diff) |
drm/i915: Use DIV_ROUND_UP() when calculating number of required FDI lanes
If we need precisely N lanes to satisfy the FDI bandwidth requirement,
the code would still claim that we need N+1 lanes. Use DIV_ROUND_UP()
to get a more accurate answer.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions