[Intel-gfx] [patch] #3 try sending original patch again
Dan Carpenter
dan.carpenter at oracle.com
Tue Feb 28 11:46:56 UTC 2017
This is the control where I resend the original patch to make verify
that it really doesn't work as-is.
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