From patchwork Thu Jun 21 23:01:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 10480915 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 12F7360365 for ; Thu, 21 Jun 2018 23:01:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0393928DEE for ; Thu, 21 Jun 2018 23:01:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC43D28E15; Thu, 21 Jun 2018 23:01:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D2DC228E11 for ; Thu, 21 Jun 2018 23:01:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9CD8E6E7DF; Thu, 21 Jun 2018 23:01:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 875326E7DF for ; Thu, 21 Jun 2018 23:01:26 +0000 (UTC) Received: by mail-pg0-x243.google.com with SMTP id l65-v6so2071632pgl.8 for ; Thu, 21 Jun 2018 16:01:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7eLzWAmmXuwjezq0sPFwoY5PsCylUJ1NVRF5r7fwXBE=; b=YKchuJo5UScM0Vw/4LwakhkL0vZOGanT/cF/Ky66JS6p9/ZQa8XE2UJaiHJy3DYuzx AtWrrVLnrtCmOdueKOfm47byIw0WhH5ZewummWV9BXGhLbLDv6CsiZrZAX7mNzHAOpIF XjXtn+eOrT8Ycczf8U5HSn0RWihUcTtfrKK1pMaTI08lwTS4U96swXYhqPSl0JN2tZfD KDW/c2l8+3Om+Io37aHYLz1oxfi6m56BcsueVPS0sFQm7a0umVvx70ygUdRQv+ULUmaA C/J2hIK9i05lMuM/7x39vqEuFbCja6mXvrhJCm+gL+cw2JQTp+GAfocMB7o+cEKqdFOT 0kAQ== X-Gm-Message-State: APt69E3HvhnYCayD0oA2ezEkHrGiDUE8pOZCRw5ObeRmmfZVxwvSZqvG 4mK23N8ZlzyhXYM8vcQa/2Wz5w== X-Google-Smtp-Source: ADUXVKLwTg9NZKb8B7gzciR6opiLCQ1NPsvS51crwg2oro8Y4GgaoblKJ8pFOaHiOulFYoszCwClZA== X-Received: by 2002:a65:5d4a:: with SMTP id e10-v6mr21293827pgt.25.1529622085259; Thu, 21 Jun 2018 16:01:25 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:600:5100:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id y69-v6sm16060507pfi.108.2018.06.21.16.01.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Jun 2018 16:01:24 -0700 (PDT) From: John Stultz To: lkml Subject: [RFC][PATCH] drm: kirin: Remove useless "Scale not support" error message Date: Thu, 21 Jun 2018 16:01:16 -0700 Message-Id: <1529622076-20386-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Griffin , David Airlie , Chen Feng , dri-devel@lists.freedesktop.org, Xinliang Liu , Xinwei Kong , Daniel Vetter , Rongrong Zou MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The driver doesn't support scaling, but when an atomic test is done it repeatedly spits out this warning which isn't particularly useful. So just remove the error message. Cc: Xinliang Liu Cc: Rongrong Zou Cc: Xinwei Kong Cc: Chen Feng Cc: David Airlie Cc: Daniel Vetter Cc: Peter Griffin Cc: dri-devel@lists.freedesktop.org Signed-off-by: John Stultz --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c index 2269be9..bb77420 100644 --- a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c +++ b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c @@ -859,7 +859,6 @@ static int ade_plane_atomic_check(struct drm_plane *plane, return PTR_ERR(crtc_state); if (src_w != crtc_w || src_h != crtc_h) { - DRM_ERROR("Scale not support!!!\n"); return -EINVAL; }