[Intel-gfx] [PATCH 18/23] drm/i915: Disable FBC in bigjoiner configuration.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Fri Sep 20 11:42:30 UTC 2019


Is there any point in having FBC enabled on half a screen?
I suppose it could still save power, but just feels wrong..
Can always be enabled later again if required.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
---
 drivers/gpu/drm/i915/display/intel_fbc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c
index c6cc3775f3b8..e4d678d425e4 100644
--- a/drivers/gpu/drm/i915/display/intel_fbc.c
+++ b/drivers/gpu/drm/i915/display/intel_fbc.c
@@ -1056,6 +1056,8 @@ void intel_fbc_choose_crtc(struct drm_i915_private *dev_priv,
 			continue;
 
 		crtc_state = intel_atomic_get_new_crtc_state(state, crtc);
+		if (crtc_state->bigjoiner)
+			continue;
 
 		crtc_state->enable_fbc = true;
 		crtc_chosen = true;
-- 
2.20.1



More information about the Intel-gfx mailing list