Skip to content

Commit

Permalink
drm/i915/fbc: No FBC+double wide pipe
Browse files Browse the repository at this point in the history
FBC and double wide pipe are mutually exclusive. Disable FBC when
we have to resort to double wide.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211124113652.22090-20-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
  • Loading branch information
vsyrjala committed Dec 3, 2021
1 parent d3e27f7 commit d5ba72f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/gpu/drm/i915/display/intel_fbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,11 @@ static int intel_fbc_check_plane(struct intel_atomic_state *state,
return 0;
}

if (crtc_state->double_wide) {
plane_state->no_fbc_reason = "double wide pipe not supported";
return 0;
}

/*
* Display 12+ is not supporting FBC with PSR2.
* Recommendation is to keep this combination disabled
Expand Down

0 comments on commit d5ba72f

Please sign in to comment.