drm/i915: Replace to_bpp_int_roundup() with fxp_q4_to_int_roundup()
authorImre Deak <imre.deak@intel.com>
Mon, 5 Aug 2024 15:07:52 +0000 (18:07 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 6 Aug 2024 09:33:24 +0000 (12:33 +0300)
commitce9b1466f5a9a1b2acc80d29f12d69559fa97174
treefc912d54ad8938b0918894d1b945be96645bb4bd
parent8466a14173e5ff7c2a52d8700a13f4b841d0e17c
drm/i915: Replace to_bpp_int_roundup() with fxp_q4_to_int_roundup()

Replace the to_bpp_int_roundup() helper defined by the driver with the
equivalent fxp_q4_to_int_roundup() helper defined by DRM core.

v2: Rebase on s/drm_x16/fxp_q4 change.

Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240805150802.3568970-4-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_cdclk.c
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp_mst.c