drm/i915: Drop one more useless master_transcoder assignment
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 19 Oct 2020 21:43:31 +0000 (00:43 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 14 Jan 2021 18:44:14 +0000 (20:44 +0200)
We dropped the other redundant master_transcoder assignments
earlier, but this one slipped through. Get rid of it as well.
The crtc state gets fully reset before readout so there is
no point in doing this.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201019214337.19330-1-ville.syrjala@linux.intel.com
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
drivers/gpu/drm/i915/display/intel_display.c

index 2479822..66990e4 100644 (file)
@@ -10952,8 +10952,6 @@ static bool hsw_get_pipe_config(struct intel_crtc *crtc,
        bool active;
        u32 tmp;
 
-       pipe_config->master_transcoder = INVALID_TRANSCODER;
-
        if (!intel_display_power_get_in_set_if_enabled(dev_priv, &power_domain_set,
                                                       POWER_DOMAIN_PIPE(crtc->pipe)))
                return false;