File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
drivers/gpu/drm/i915/display Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1377,14 +1377,14 @@ static bool intel_dp_supports_fec(struct intel_dp *intel_dp,
1377
1377
drm_dp_sink_supports_fec (connector -> dp .fec_capability );
1378
1378
}
1379
1379
1380
- static bool intel_dp_supports_dsc (struct intel_dp * intel_dp ,
1380
+ static bool intel_dp_supports_dsc (const struct intel_connector * connector ,
1381
1381
const struct intel_crtc_state * crtc_state )
1382
1382
{
1383
1383
if (intel_crtc_has_type (crtc_state , INTEL_OUTPUT_DP ) && !crtc_state -> fec_enable )
1384
1384
return false;
1385
1385
1386
1386
return intel_dsc_source_support (crtc_state ) &&
1387
- drm_dp_sink_supports_dsc (intel_dp -> dsc_dpcd );
1387
+ drm_dp_sink_supports_dsc (connector -> dp . dsc_dpcd );
1388
1388
}
1389
1389
1390
1390
static int intel_dp_hdmi_compute_bpc (struct intel_dp * intel_dp ,
@@ -2120,7 +2120,7 @@ int intel_dp_dsc_compute_config(struct intel_dp *intel_dp,
2120
2120
pipe_config -> fec_enable = !intel_dp_is_edp (intel_dp ) &&
2121
2121
intel_dp_supports_fec (intel_dp , connector , pipe_config );
2122
2122
2123
- if (!intel_dp_supports_dsc (intel_dp , pipe_config ))
2123
+ if (!intel_dp_supports_dsc (connector , pipe_config ))
2124
2124
return - EINVAL ;
2125
2125
2126
2126
if (!intel_dp_dsc_supports_format (intel_dp , pipe_config -> output_format ))
You can’t perform that action at this time.
0 commit comments