drm/i915/dpio: Remove pointless VLV_PCS01_DW8 read
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 22 Apr 2024 08:34:44 +0000 (11:34 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 30 Apr 2024 17:59:17 +0000 (20:59 +0300)
We don't use the result of the VLV_PCS01_DW8 read at all,
so don't read.

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

index c72b76b61dff8ac0c8ed8960dab6d558acf04d96..6cbee88e608fb5c57d4dd7686b58d776dcc1cac8 100644 (file)
@@ -1134,7 +1134,6 @@ void vlv_phy_pre_encoder_enable(struct intel_encoder *encoder,
        vlv_dpio_get(dev_priv);
 
        /* Enable clock channels for this port */
-       val = vlv_dpio_read(dev_priv, phy, VLV_PCS01_DW8(port));
        val = 0;
        if (pipe)
                val |= (1<<21);