]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf77a2dd402aaad5eb2d6cf500aa7c36cde263046
treea93ec4a3ae13921f50220b6b4d26ac6d0c9a73e9
parentc13545f485db97acd5dc8f69adc71d28e918e771
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