drm/i915/dmc_wl: Extract intel_dmc_wl_reg_in_range()
authorGustavo Sousa <gustavo.sousa@intel.com>
Fri, 8 Nov 2024 12:57:12 +0000 (09:57 -0300)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 8 Nov 2024 17:54:01 +0000 (09:54 -0800)
commit83329df1be0c883801251d9aeaca0df317e14a14
treeb9ed34991ba5c18d7ee1b61aadb91f4a171ea5d7
parent1e15bc5bd7665558f4296b4cc50a561460b9f236
drm/i915/dmc_wl: Extract intel_dmc_wl_reg_in_range()

We will be using more than one range table in
intel_dmc_wl_check_range(). As such, move the logic to a new function
and name it intel_dmc_wl_reg_in_range().

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241108130218.24125-8-gustavo.sousa@intel.com
drivers/gpu/drm/i915/display/intel_dmc_wl.c