[Intel-gfx] [patch] #2: test adding ---

Dan Carpenter dan.carpenter at oracle.com
Tue Feb 28 11:46:18 UTC 2017


The new version of patchwork is filtering out my patches which apply
fine with git am and have worked for everyone else's patchwork.  Perhaps
it's insisting on a --- break?

Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
---

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index d1670b8afbf5..9173548ba601 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1637,10 +1637,8 @@ intel_dp_compute_config(struct intel_encoder *encoder,
 				       adjusted_mode);
 
 		if (INTEL_GEN(dev_priv) >= 9) {
-			int ret;
-			ret = skl_update_scaler_crtc(pipe_config);
-			if (ret)
-				return ret;
+			if (skl_update_scaler_crtc(pipe_config))
+				return false;
 		}
 
 		if (HAS_GMCH_DISPLAY(dev_priv))


More information about the Intel-gfx mailing list