]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Replace to_bpp_x16() with fxp_q4_from_int()
authorImre Deak <imre.deak@intel.com>
Mon, 5 Aug 2024 15:07:50 +0000 (18:07 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 6 Aug 2024 09:33:22 +0000 (12:33 +0300)
commit3196763851b5fb9f7c8c488e233e947292cd71a6
tree3f149553adfb621c8ac190b40c5dcb985ff045d4
parentda1878b61c8d480c361ba6a39ce8a31c80b65826
drm/i915: Replace to_bpp_x16() with fxp_q4_from_int()

Replace the to_bpp_x16() helper defined by the driver with the
equivalent fxp_q4_from_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-2-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_bios.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_link_bw.c