drm/i915: Replace to_bpp_int() with fxp_q4_to_int()
authorImre Deak <imre.deak@intel.com>
Mon, 5 Aug 2024 15:07:51 +0000 (18:07 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 6 Aug 2024 09:33:23 +0000 (12:33 +0300)
commit8466a14173e5ff7c2a52d8700a13f4b841d0e17c
tree27200987a1133b6912de9400b28060a6c5a8723f
parent3196763851b5fb9f7c8c488e233e947292cd71a6
drm/i915: Replace to_bpp_int() with fxp_q4_to_int()

Replace the to_bpp_int() helper defined by the driver with the
equivalent fxp_q4_to_int() helper defined by DRM core.

v2: Rebase on the 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-3-imre.deak@intel.com
drivers/gpu/drm/i915/display/icl_dsi.c
drivers/gpu/drm/i915/display/intel_display.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
drivers/gpu/drm/i915/display/intel_fdi.c
drivers/gpu/drm/i915/display/intel_vdsc.c