summaryrefslogtreecommitdiffstats
path: root/drm-i915-hush-check-crtc-state.patch
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2013-11-13 10:17:24 -0500
committerAdam Jackson <ajax@redhat.com>2013-11-13 10:17:24 -0500
commit049a74e3738b1a89132747168a05bd2b2c2dd601 (patch)
treefa06e2e39d58126255c8204380987b419f0f8471 /drm-i915-hush-check-crtc-state.patch
parent713abc0c25d574380a3154b9c4d524ac2f5aab29 (diff)
downloadkernel-049a74e3738b1a89132747168a05bd2b2c2dd601.tar.gz
kernel-049a74e3738b1a89132747168a05bd2b2c2dd601.tar.xz
kernel-049a74e3738b1a89132747168a05bd2b2c2dd601.zip
Hush i915's check_crtc_state()
Diffstat (limited to 'drm-i915-hush-check-crtc-state.patch')
-rw-r--r--drm-i915-hush-check-crtc-state.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/drm-i915-hush-check-crtc-state.patch b/drm-i915-hush-check-crtc-state.patch
new file mode 100644
index 000000000..f50352be6
--- /dev/null
+++ b/drm-i915-hush-check-crtc-state.patch
@@ -0,0 +1,17 @@
+This is _by far_ the most common backtrace for i915 on retrace.fp.o, and
+it's mostly useless noise. There's not enough context when it's generated
+to know if something actually went wrong. Downgrade the message to
+KMS debugging so we can still get it if we want it.
+
+diff -up linux-3.13.0-0.rc0.git2.1.fc21.x86_64/drivers/gpu/drm/i915/intel_display.c.jx linux-3.13.0-0.rc0.git2.1.fc21.x86_64/drivers/gpu/drm/i915/intel_display.c
+--- linux-3.13.0-0.rc0.git2.1.fc21.x86_64/drivers/gpu/drm/i915/intel_display.c.jx 2013-11-03 18:41:51.000000000 -0500
++++ linux-3.13.0-0.rc0.git2.1.fc21.x86_64/drivers/gpu/drm/i915/intel_display.c 2013-11-13 10:12:05.781301624 -0500
+@@ -8803,7 +8803,7 @@ check_crtc_state(struct drm_device *dev)
+
+ if (active &&
+ !intel_pipe_config_compare(dev, &crtc->config, &pipe_config)) {
+- WARN(1, "pipe state doesn't match!\n");
++ DRM_DEBUG_KMS("pipe state doesn't match!\n");
+ intel_dump_pipe_config(crtc, &pipe_config,
+ "[hw state]");
+ intel_dump_pipe_config(crtc, &crtc->config,