Skip to content

Commit e6f9bb6

Browse files
animesh-mannamattrope
authored andcommitted
drm/i915/bigjoiner: Avoid dsc_compute_config for uncompressed bigjoiner
For uncompressed big joiner DSC engine will not be used so will avoid compute config of DSC. Cc: Manasi Navare <[email protected]> Signed-off-by: Animesh Manna <[email protected]> Signed-off-by: Clinton Taylor <[email protected]> Signed-off-by: Matt Roper <[email protected]> Reviewed-by: Manasi Navare <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent ca844ea commit e6f9bb6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

drivers/gpu/drm/i915/display/intel_dp.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,9 +1370,13 @@ intel_dp_compute_link_config(struct intel_encoder *encoder,
13701370
*/
13711371
ret = intel_dp_compute_link_config_wide(intel_dp, pipe_config, &limits);
13721372

1373-
/* enable compression if the mode doesn't fit available BW */
1373+
/*
1374+
* Pipe joiner needs compression upto display12 due to BW limitation. DG2
1375+
* onwards pipe joiner can be enabled without compression.
1376+
*/
13741377
drm_dbg_kms(&i915->drm, "Force DSC en = %d\n", intel_dp->force_dsc_en);
1375-
if (ret || intel_dp->force_dsc_en || pipe_config->bigjoiner) {
1378+
if (ret || intel_dp->force_dsc_en || (DISPLAY_VER(i915) < 13 &&
1379+
pipe_config->bigjoiner)) {
13761380
ret = intel_dp_dsc_compute_config(intel_dp, pipe_config,
13771381
conn_state, &limits);
13781382
if (ret < 0)

0 commit comments

Comments
 (0)