]> www.infradead.org Git - nvme.git/commit
drm/i915/cdclk: Reorder bxt_sanitize_cdclk()
authorGustavo Sousa <gustavo.sousa@intel.com>
Fri, 5 Jan 2024 14:05:37 +0000 (11:05 -0300)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 8 Jan 2024 18:55:46 +0000 (10:55 -0800)
commitebb9c4240deaaa54b70926bdc4d4ceb22518c0cb
tree3bb4b4719df03fb952a5d161cd1efb277e855481
parent7af2f3e55c1ec09bfa04963f4a8d0ef052be22bb
drm/i915/cdclk: Reorder bxt_sanitize_cdclk()

Make the sequence of steps in bxt_sanitize_cdclk() more logical by
grouping things related to the check on the value of CDCLK_CTL into a
single "block". Also, this will make an upcoming change replacing that
block with a single function call easier to follow.

v2:
  - Improve body of commit message to be more self-contained.

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-4-gustavo.sousa@intel.com
drivers/gpu/drm/i915/display/intel_cdclk.c