Files
linux/drivers/gpu/drm
Gustavo Sousa 452269e2f0 drm/i915/cdclk: Only compute squash waveform when necessary
It is no use computing the squash waveform if we are not going to use
it. Move the call to cdclk_squash_waveform() inside the block guarded by
HAS_CDCLK_SQUASH(dev_priv).

v2:
  - Move "u16 waveform" declaration to inside the block where it is
    initialized and used. (Matt)

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240312163639.172321-4-gustavo.sousa@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
2024-03-13 05:46:45 -07:00
..
2024-02-26 11:41:07 +01:00
2023-11-27 13:56:32 -06:00
2023-11-27 13:56:32 -06:00
2024-01-18 21:10:41 +01:00
2023-11-15 10:56:44 +01:00
2024-02-26 11:41:07 +01:00
2024-02-26 11:41:07 +01:00
2023-11-27 13:56:32 -06:00
2024-02-26 11:41:07 +01:00
2024-02-26 11:41:07 +01:00
2024-02-26 11:41:07 +01:00
2024-01-18 21:10:41 +01:00
2024-02-26 11:41:07 +01:00
2024-02-26 11:41:07 +01:00
2024-02-26 11:41:07 +01:00
2024-02-26 11:41:07 +01:00