From patchwork Tue Jun 25 09:06:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 2775471 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D8979C0AB1 for ; Tue, 25 Jun 2013 09:07:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7F59F201B4 for ; Tue, 25 Jun 2013 09:07:19 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 2E34A201B3 for ; Tue, 25 Jun 2013 09:07:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F0638E5F43 for ; Tue, 25 Jun 2013 02:07:16 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by gabe.freedesktop.org (Postfix) with ESMTP id 4FF26E5DD8 for ; Tue, 25 Jun 2013 02:07:06 -0700 (PDT) Received: by mail-ee0-f53.google.com with SMTP id c41so6604084eek.40 for ; Tue, 25 Jun 2013 02:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:x-mailer; bh=IPwo73NsmDUU/paz+60biYYqvI4bLMUHCkhzlPpRYik=; b=iMc1yptPTYscLrp+ESXvonzCJlHvveUUdzuW/J/w5s7MhkLU+DYEC73B2JDmI8O8RX PPipChXAoLX+xig4G6ieD3R+IMlpdp8VItBE1jxNdvYNW6EnlvMFLFZTxdWRO5NF2R1u wvZLSuvyjX8CpzapqxJxtUHhobBg6NkUpxYSs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=IPwo73NsmDUU/paz+60biYYqvI4bLMUHCkhzlPpRYik=; b=lMaB6VWP9EG4mBSUtIxHW0RO3XwxEyMMhmXOmhXXHqM3bQ10xE7yvzAUg5z++fO5GF wpBa5X3i4iHBfuo2ES+j/ErG8B6Df8ngJWD4nFmVo/ixWVi9cceUzaCow5Baaq6z65Yl 3ud46N59qP2p/Ir9MngsTHB3SEB9/XJENaSLo/M6LhfSyNZmsiU6gHKhswZNG7oqta+U Lw+EECHu7J5nNcLTM6EN43htCaSF60Aj/JNgCTLfyBOyd3O9CcoSwl+l0Ri02l9G6R2a 6hgdL8jT/4CXGXK3wMq+T4a7ugAisSvV2zpZb9wCZ7yglv5CmyKVglBf504RqouLoNck BMcg== X-Received: by 10.15.25.2 with SMTP id k2mr28221987eeu.99.1372151225106; Tue, 25 Jun 2013 02:07:05 -0700 (PDT) Received: from phenom.ffwll.local (178-83-130-250.dynamic.hispeed.ch. [178.83.130.250]) by mx.google.com with ESMTPSA id b7sm34386658eef.16.2013.06.25.02.06.57 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Jun 2013 02:07:04 -0700 (PDT) From: Daniel Vetter To: Intel Graphics Development Date: Tue, 25 Jun 2013 11:06:52 +0200 Message-Id: <1372151212-21155-1-git-send-email-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQmUxFbr7ZnA99K+CQ7y4BXotzmWBBEOde9DlMU1/trrts4+0PnwzS3t4sYKPn5C6fOICPbh Cc: Daniel Vetter Subject: [Intel-gfx] [PATCH] drm/i915: don't scream into dmesg when a modeset fails X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There are legit cases, e.g. when userspace asks for something impossible. So tune it down to debug output like we do with all other userspace-triggerable warnings. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66111#c5 Signed-off-by: Daniel Vetter Reviewed-by: Chris Wilson --- drivers/gpu/drm/i915/intel_display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index af2b5ab..d86336b 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -8721,8 +8721,8 @@ static int intel_crtc_set_config(struct drm_mode_set *set) ret = intel_set_mode(set->crtc, set->mode, set->x, set->y, set->fb); if (ret) { - DRM_ERROR("failed to set mode on [CRTC:%d], err = %d\n", - set->crtc->base.id, ret); + DRM_DEBUG_KMS("failed to set mode on [CRTC:%d], err = %d\n", + set->crtc->base.id, ret); goto fail; } } else if (config->fb_changed) {