File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
drivers/gpu/drm/i915/display Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1161,12 +1161,12 @@ void intel_dsc_disable(const struct intel_crtc_state *old_crtc_state)
1161
1161
struct intel_crtc * crtc = to_intel_crtc (old_crtc_state -> uapi .crtc );
1162
1162
struct drm_i915_private * dev_priv = to_i915 (crtc -> base .dev );
1163
1163
1164
- if (!( old_crtc_state -> dsc . compression_enable &&
1165
- old_crtc_state -> bigjoiner ))
1166
- return ;
1167
-
1168
- intel_de_write (dev_priv , dss_ctl1_reg (old_crtc_state ), 0 );
1169
- intel_de_write ( dev_priv , dss_ctl2_reg ( old_crtc_state ), 0 );
1164
+ /* Disable only if either of them is enabled */
1165
+ if ( old_crtc_state -> dsc . compression_enable ||
1166
+ old_crtc_state -> bigjoiner ) {
1167
+ intel_de_write ( dev_priv , dss_ctl1_reg ( old_crtc_state ), 0 );
1168
+ intel_de_write (dev_priv , dss_ctl2_reg (old_crtc_state ), 0 );
1169
+ }
1170
1170
}
1171
1171
1172
1172
void intel_uncompressed_joiner_get_config (struct intel_crtc_state * crtc_state )
You can’t perform that action at this time.
0 commit comments