]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/lnl: Add CDCLK table
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Tue, 19 Sep 2023 19:21:25 +0000 (12:21 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 21 Sep 2023 15:18:07 +0000 (08:18 -0700)
commit394b4b7df9f791dc2dcc95f29cda0961900da6e9
tree2d19c25ffb5b28df886fbcbe79b615a0093121dc
parent9d404dad0bf8c949a2c8dabdf280389c8262ddb9
drm/i915/lnl: Add CDCLK table

Add a new CDCLK table for Lunar Lake.

v2:
  - Remove mdclk from the table as it's not needed (Matt Roper)
  - Update waveform values to the latest from spec (Matt Roper)
  - Rename functions and calculation to match by pixel rate (Lucas)
v3: Keep only the table: as far as intel_pixel_rate_to_cdclk()
    is concerned, the minimum cdclk should still be half the pixel
    rate on Xe2 (bspec 68858:
    "Pipe maximum pixel rate = 2 * CDCLK frequency * Pipe Ratio")
    (Matt Roper)

Bspec: 68861, 68858
Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230919192128.2045154-19-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_cdclk.c