]> www.infradead.org Git - nvme.git/commit
drm/i915/cdclk: Re-use bxt_cdclk_ctl() when sanitizing
authorGustavo Sousa <gustavo.sousa@intel.com>
Fri, 5 Jan 2024 14:05:38 +0000 (11:05 -0300)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 8 Jan 2024 18:55:46 +0000 (10:55 -0800)
commit935e486b718fc1c98191137cbf09b05ca5d8b9d6
treec68cbc0a4d7d8f8c7781cd02e60317f9df5f85d1
parentebb9c4240deaaa54b70926bdc4d4ceb22518c0cb
drm/i915/cdclk: Re-use bxt_cdclk_ctl() when sanitizing

The function bxt_cdclk_ctl() is responsible for deriving the value for
CDCLK_CTL; use it instead of repeating the same logic.

v2:
  - Use a better commit message body by making it more self-contained
    and not referring to stuff from the subject line. (Matt)

Reviewed-by: Matt Roper <matthew.d.roper@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/20240105140538.183553-5-gustavo.sousa@intel.com
drivers/gpu/drm/i915/display/intel_cdclk.c