]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Replace _MMIO_PHY3() with _PICK_EVEN_2RANGES()
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 20 Jan 2023 19:34:53 +0000 (11:34 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 27 Jan 2023 16:52:20 +0000 (08:52 -0800)
commit7b775d36589390eaf19ceada78141c60ed1c7c84
treed4c515c437b3c016c4386339a8c809580f3d70e8
parent680d0c7960f12fc3852c70b2bab278cc5e70b88a
drm/i915: Replace _MMIO_PHY3() with _PICK_EVEN_2RANGES()

As done previously for pll, also convert users of _PHY3() to
_PICK_EVEN_2RANGES(). Size comparison of i915.o:

$ size build64/drivers/gpu/drm/i915/i915.o{.old,.new}
   text    data     bss     dec     hex filename
4026997  185703    6984 4219684  406324 build64/drivers/gpu/drm/i915/i915.o.old
4026288  185703    6984 4218975  40605f build64/drivers/gpu/drm/i915/i915.o.new

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230120193457.3295977-5-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_display_reg_defs.h
drivers/gpu/drm/i915/i915_reg.h