]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915: Set max cdclk for display 30.02
authorMatt Atwood <matthew.s.atwood@intel.com>
Fri, 13 Jun 2025 19:31:42 +0000 (01:01 +0530)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 18 Jun 2025 21:58:20 +0000 (14:58 -0700)
Display version 30.02 has a lower max cdclk rate than 30.00.

Bspec: 68861
Signed-off-by: Matt Atwood <matthew.s.atwood@intel.com>
Signed-off-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20250613193146.3549862-6-dnyaneshwar.bhadane@intel.com
drivers/gpu/drm/i915/display/intel_cdclk.c

index 38b3094b37d7f36ef49055cd9feaa23ac9217ebe..1cbb1d526fe8706c075231409cd623fa8142afa5 100644 (file)
@@ -3386,7 +3386,9 @@ static int intel_compute_max_dotclk(struct intel_display *display)
  */
 void intel_update_max_cdclk(struct intel_display *display)
 {
-       if (DISPLAY_VER(display) >= 30) {
+       if (DISPLAY_VERx100(display) >= 3002) {
+               display->cdclk.max_cdclk_freq = 480000;
+       } else if (DISPLAY_VER(display) >= 30) {
                display->cdclk.max_cdclk_freq = 691200;
        } else if (display->platform.jasperlake || display->platform.elkhartlake) {
                if (display->cdclk.hw.ref == 24000)