From patchwork Sat Aug 6 01:50:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 9265853 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 9291060754 for ; Sat, 6 Aug 2016 01:54:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 81AFB2848E for ; Sat, 6 Aug 2016 01:54:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 74F14284E6; Sat, 6 Aug 2016 01:54:20 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C1DCF2848E for ; Sat, 6 Aug 2016 01:54:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bVql4-0002cQ-65; Sat, 06 Aug 2016 01:50:38 +0000 Received: from resqmta-po-08v.sys.comcast.net ([2001:558:fe16:19:96:114:154:167]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bVqky-0001rr-62 for linux-arm-kernel@lists.infradead.org; Sat, 06 Aug 2016 01:50:33 +0000 Received: from resomta-po-16v.sys.comcast.net ([96.114.154.240]) by resqmta-po-08v.sys.comcast.net with SMTP id VqkbbXFc12dNjVqkbbmSYM; Sat, 06 Aug 2016 01:50:09 +0000 Received: from mail.gonehiking.org ([73.181.52.62]) by comcast with SMTP id VqkZbrN0BorbqVqkabrTgU; Sat, 06 Aug 2016 01:50:09 +0000 Received: from shuah-XPS-13-9350.sisa.samsung.com (shuah-xps.internal [192.168.1.87]) by mail.gonehiking.org (Postfix) with ESMTP id 95C4A9F3DD; Fri, 5 Aug 2016 19:50:07 -0600 (MDT) From: Shuah Khan To: inki.dae@samsung.com, jy0922.shim@samsung.com, sw0312.kim@samsung.com, kyungmin.park@samsung.com, airlied@linux.ie, kgene@kernel.org, k.kozlowski@samsung.com Subject: [PATCH] exynos-drm: Fix unsupported GEM memory type error message to be clear Date: Fri, 5 Aug 2016 19:50:06 -0600 Message-Id: <1470448206-16538-1-git-send-email-shuahkh@osg.samsung.com> X-Mailer: git-send-email 2.7.4 X-CMAE-Envelope: MS4wfBIZqG+kCUVunZYucYi8KRKVXzmnFY2D/dm4OLFqqfu9Rac2gSaYLm0OIfaPsd5bKRrTsWWLfkFBpYBhOOcUgsbu+77ZsTWdEecKhRGX1Y0xMWR/Wiis sJg/E1Ff0NxLVUodzj7Jkiin5yWAZtU7Fh6jjTPn807wwmY4QRI0jgCb8Mmaxum5NKLgiSXVtKZUHpYK0Hj84eAIRiH3KWuf36kXyufFwUpDRmKUJMVMCQXB MSEaEZET9JZMhLf+Ld8Vby1m1fT8SMNgnuJWbDCX3dC42J4dYmwKyMbG2Dzw0OsMM7adJuN5VW0DEkOxKl5DcRTx2oxuKrFtFteAdXZJaZ6W/VbKfsavbL8E V8ROyylGaW9toKlHs4WzYLH2QtkYZ9OufnSEuv2NeeZBrotJeNe+W4nmTManf9DA0FiQnF3rTir+IfXsojmy33hmcr3ne1bs3cxnyeQ0w1jEqS9aWz8/HXwC s212BLx4OvDktyxY3ahWTqUvXNiz5W1epimPv6GzP6snyJdgOT4nr5VjDemill0frNAbKeAwmPZhLnT2zeTN+8OLHsYolbSoS7gaWSsJ4u8gG9lmZk4uY1Mo Kv5Sb6diPQqSmrITAibabRV8 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160805_185032_334261_461A4DD8 X-CRM114-Status: UNSURE ( 7.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Shuah Khan , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fix unsupported GEM memory type error message to include the memory type information. Signed-off-by: Shuah Khan --- drivers/gpu/drm/exynos/exynos_drm_fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fb.c b/drivers/gpu/drm/exynos/exynos_drm_fb.c index e016640..c9315df 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fb.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fb.c @@ -55,11 +55,11 @@ static int check_fb_gem_memory_type(struct drm_device *drm_dev, flags = exynos_gem->flags; /* - * without iommu support, not support physically non-continuous memory + * without iommu support, not support physically non-contiguous memory * for framebuffer. */ if (IS_NONCONTIG_BUFFER(flags)) { - DRM_ERROR("cannot use this gem memory type for fb.\n"); + DRM_ERROR("Non-continguous GEM memory is not supported.\n"); return -EINVAL; }