[Intel-gfx] [PATCH 11/25] drm/i915: Remove dblscan flag from fbc1 check

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Wed Jun 18 19:58:44 CEST 2014


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

We don't do double scan anyway so don't bother checking it in the fbc
code.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 drivers/gpu/drm/i915/intel_pm.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 0fcc0c6..f3ef14a 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -494,8 +494,7 @@ static bool intel_fbc1_possible(struct intel_crtc *crtc)
 		return false;
 	}
 
-	if (crtc->config.adjusted_mode.flags & (DRM_MODE_FLAG_INTERLACE |
-						DRM_MODE_FLAG_DBLSCAN) ||
+	if (crtc->config.adjusted_mode.flags & DRM_MODE_FLAG_INTERLACE ||
 	    crtc->config.double_wide) {
 		DRM_DEBUG("FBC pipe %c, plane %c: mode incompatible\n",
 			  pipe_name(crtc->pipe), plane_name(crtc->plane));
-- 
1.8.5.5




More information about the Intel-gfx mailing list