]> Gentwo Git Trees - linux/.git/commit
drm/i915/dsi: Don't set/read the DSI C clock divider on GLK
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 18 Jul 2025 11:29:28 +0000 (14:29 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Sat, 19 Jul 2025 17:48:09 +0000 (20:48 +0300)
commit615c8ec48621f5c157fef3633d6e4be81d7a370f
treeddb1d9f759c030f0709ea2430b8d5d6072c4bfa5
parent976d608d6f8404475ac8e133a713395defa14f41
drm/i915/dsi: Don't set/read the DSI C clock divider on GLK

GLK doesn't use the DSI C clock at all, no need to program
the divider for it. Bspec even says: "Do not program this field".

However looks like some firmware versions program this and
some do not. In order to avoid bogus fastset mismatches
we should also filter it out during readout.

v2: Clear all the DSI C clock bits during readout (Jani)
    Adjust platform checks for new style, and add
    has_dsic_clock() while at it.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250718112928.27669-1-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/vlv_dsi_pll.c