[Intel-gfx] [PATCH 7/8] drm/i915: No FBC+double wide pipe
Ville Syrjala
ville.syrjala at linux.intel.com
Wed Apr 14 02:23:08 UTC 2021
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
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 at linux.intel.com>
---
drivers/gpu/drm/i915/display/intel_fbc.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c
index a8565c58d1f1..48cddf70488f 100644
--- a/drivers/gpu/drm/i915/display/intel_fbc.c
+++ b/drivers/gpu/drm/i915/display/intel_fbc.c
@@ -841,6 +841,11 @@ static int intel_crtc_fbc_check(struct intel_atomic_state *state,
return 0;
}
+ if (crtc_state->double_wide) {
+ crtc_state->no_fbc_reason = "double wide pipe";
+ return 0;
+ }
+
if (!intel_fbc_hw_tracking_covers_screen(plane_state)) {
crtc_state->no_fbc_reason = "plane too large";
return 0;
--
2.26.3
More information about the Intel-gfx
mailing list