Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp521513yba; Wed, 24 Apr 2019 05:27:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqztpbUjJRwEb05IK/il57vcdF+uTj0WM++5tv/kyJV8BxYJTx+yCXg6xZP22we2IGnQLxZF X-Received: by 2002:a65:4589:: with SMTP id o9mr30721009pgq.381.1556108867384; Wed, 24 Apr 2019 05:27:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556108867; cv=none; d=google.com; s=arc-20160816; b=RPuzS+DnLL369kgh2mOk408P8myY03eDskaJcr4ZlPc7mahK1VTI7fDq+sHFmpCAq6 RKQuXciEEiIs97362nXBMCf5Gtb0db5dSWu/7NLBoXqf1Vy/3Ttw9nybRRkD6znO/rUe uXVdmLlS2PVpcLquQrwAjAi5m5/vX4m13KVTC5EC9LJDR7Xbxf9TY7YFGRH0y84eA5kl SWY4D4qBJzavUytXdn7dR0Sh1QED3Z3qDY5R9+Ywg3EMK+IbLfe97HGNwr66PvK5A+/B +rr54Uf1Foej/tupuVTlo1xzPWW2l3qnbrjXdr3764QQfMsoZTTLANMzw1vYUWCQvjET DTeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=k/G53At6GpO9p20H7pGhrT8FvlHyaW2wBtqlzxG9UpA=; b=cjGSH9BZOog8bIGi7TjIzP2V5rgX3tg5fKysnS7Mu8xa6ETQqK6bxOZ8v98MngdJic yw5mi/zxGLxf5Wr792a6wIpyuuxJIEGV0EhDAqxJPbg+DoMKBdZGNKzCsHdg/vpi8cr+ tIn+rytfkpmo7vZq9zX1cyVjS5mQKAPrsNGZ0YGFWrX+TwJI2S16EwOU03UdE37l3WbR MbkntB57oH8FIiBV7wYKNrnXfg0sVbNHvsHGO2MEoyByQzP8gBMxsRrO4fkVcx2ckKHd 0lXqstdd86jNWC5kL6eQOGb1TNyVXLRIE4rSp0BVSgRcMJVwkJIRNYc1nWXMOmECyzXq pqLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eg2pNjdc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12si8214450pla.405.2019.04.24.05.27.32; Wed, 24 Apr 2019 05:27:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eg2pNjdc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729853AbfDXM0P (ORCPT + 99 others); Wed, 24 Apr 2019 08:26:15 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:38767 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727270AbfDXM0P (ORCPT ); Wed, 24 Apr 2019 08:26:15 -0400 Received: by mail-qt1-f193.google.com with SMTP id d13so19958803qth.5 for ; Wed, 24 Apr 2019 05:26:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=k/G53At6GpO9p20H7pGhrT8FvlHyaW2wBtqlzxG9UpA=; b=eg2pNjdcN3TTp0Zz+anyu2txkD2KAV89Qi6LLwLSVeAy3gZiIBVCqOc4Ghm8sFs+yv riM6B01w+KmJpFNJWCSxgoX6JNaLwnfmrpHRGgDPeH6wGzSceNeQ44Bgr5U3z1e8qnFL prFr9nw+Cv4vrTter875x1+2fL0FJGu0/t5fjkthVxu0t1g66eJm/cR/OrNCyg6BpLzY P8wktdg7gdWhIRCe5RLC0NPJB1vwjT5CNNt0Ejk6V8aQDBPODh/QEqBS9icMHMeLFS1l ch/jt/p3libNRcsJn4ilA5QqS/b/kN1fa4U/Rzo2PLBnd135cH4jflQQEVPKMPeujBNJ GxWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=k/G53At6GpO9p20H7pGhrT8FvlHyaW2wBtqlzxG9UpA=; b=WyN0rVhZootkP0cl6HKc9AaitO8kwP3B4ufEhmM0g1LkiKhm24+UHe03A3svv5SYm6 wvC5epjykFCeriMf9G9b+BkZSPYpfJSgM/7WFskNOKSth8RIXmXGNuCP9jBUg1BLcmv/ dw2HSmVkap3mWRcmX7vCxuuSUar/6id+UfVwDbX4FMMxS0ld75OOJzX4PSF3v1rQpZCR EDisgpr/2wNaxyYeN5qvzbEraZl16yBHgYLhLgtm8gf2o582/pLJtFxfChsih/Z6/xhB SJG3NthNdqyIoNt5DVcBrJBWweImPd5Mdr3F3heaGIpgDsBj5RFFqtS/fCpqyBHV8m/q JSIg== X-Gm-Message-State: APjAAAUDgmCrOfKn4G2HEWIi1BQMiaJ7qtwKfF91feXHhrqsuKYpzKMy ShtXRgFDPJ9RrCDpyBdV2XqFrVxP5ZRlPd3+CsTKIw== X-Received: by 2002:ad4:52e3:: with SMTP id p3mr1176233qvu.98.1556108774534; Wed, 24 Apr 2019 05:26:14 -0700 (PDT) MIME-Version: 1.0 References: <1553874548-31366-1-git-send-email-yannick.fertre@st.com> In-Reply-To: From: Benjamin Gaignard Date: Wed, 24 Apr 2019 14:26:03 +0200 Message-ID: Subject: Re: [PATCH] drm/stm: ltdc: use DRM_WARN for fifo & transfer error messages To: Philippe CORNU Cc: Yannick FERTRE , Vincent ABRIOU , David Airlie , Daniel Vetter , Maxime Coquelin , Alexandre TORGUE , "dri-devel@lists.freedesktop.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le lun. 1 avr. 2019 =C3=A0 11:20, Philippe CORNU a = =C3=A9crit : > > Dear Yannick, > Fully agree with this approach, > > Acked-by: Philippe Cornu > Applied on drm-misc-next, Thanks, Benjamin > Philippe :-) > > On 3/29/19 4:49 PM, Yannick Fertr=C3=A9 wrote: > > From: Philippe Cornu > > > > Use DRM_WARN() instead of DRM_DEBUG_DRIVER() to better > > inform the user in case of fifo underruns or > > transfer errors. > > > > Signed-off-by: Philippe Cornu > > --- > > drivers/gpu/drm/stm/ltdc.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c > > index b1741a9..15d8a02 100644 > > --- a/drivers/gpu/drm/stm/ltdc.c > > +++ b/drivers/gpu/drm/stm/ltdc.c > > @@ -822,11 +822,11 @@ static void ltdc_plane_atomic_update(struct drm_p= lane *plane, > > > > mutex_lock(&ldev->err_lock); > > if (ldev->error_status & ISR_FUIF) { > > - DRM_DEBUG_DRIVER("Fifo underrun\n"); > > + DRM_WARN("ltdc fifo underrun: please verify display mode\= n"); > > ldev->error_status &=3D ~ISR_FUIF; > > } > > if (ldev->error_status & ISR_TERRIF) { > > - DRM_DEBUG_DRIVER("Transfer error\n"); > > + DRM_WARN("ltdc transfer error\n"); > > ldev->error_status &=3D ~ISR_TERRIF; > > } > > mutex_unlock(&ldev->err_lock); > > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel