drm/i915: Round up when calculating display bandwidth requirements
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 3 Mar 2022 19:12:04 +0000 (21:12 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 21 Mar 2022 15:55:39 +0000 (17:55 +0200)
commit6c69d0bb9f15cdbc8fd6134e2c66438b69bb9581
treea93ec4a3ae13921f50220b6b4d26ac6d0c9a73e9
parent7243867c6f9617c451c763a7751fa743c3f04f4a
drm/i915: Round up when calculating display bandwidth requirements

We should round up when doing bandwidth calculations to make sure
our estimates don't fall short of the actual number.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220303191207.27931-7-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
drivers/gpu/drm/i915/display/intel_bw.c