From patchwork Tue Mar 28 08:44:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Hellstrom X-Patchwork-Id: 9648383 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 DD6A7601D7 for ; Tue, 28 Mar 2017 08:45:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D17CE20855 for ; Tue, 28 Mar 2017 08:45:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C5A0726247; Tue, 28 Mar 2017 08:45:23 +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.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID 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 5C51A20855 for ; Tue, 28 Mar 2017 08:45:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AE6A06E525; Tue, 28 Mar 2017 08:45:21 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0041.outbound.protection.outlook.com [104.47.37.41]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6EBF86E525 for ; Tue, 28 Mar 2017 08:45:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onevmw.onmicrosoft.com; s=selector1-vmware-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=S65khzWKk74QlHai4OkgsvCMbLQB2mjB20h9zYtYY2c=; b=Zs+ZPCDZ59AmijTb8ZBSGPYMVuAaLjDjvDdjBhgJqEy0456UfSbVPmGGpsd29dYMBFRAkkqtG+4DEwR05B+aH34TRZ7kCqbgxw+Fe0AtBmd/ztXNrhgYWmO8QS59sRk4vPmw7GH8vdAqLyM+hn421GQYUKMRl9IgT7RLawJgZb0= Authentication-Results: lists.freedesktop.org; dkim=none (message not signed) header.d=none; lists.freedesktop.org; dmarc=none action=none header.from=vmware.com; Received: from linvm2.localdomain (155.4.205.56) by BLUPR05MB756.namprd05.prod.outlook.com (10.141.208.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.2; Tue, 28 Mar 2017 08:45:18 +0000 From: Thomas Hellstrom To: Subject: [PATCH] drm/vmwgfx: Remove getparam error message Date: Tue, 28 Mar 2017 10:44:46 +0200 Message-ID: <1490690686-4235-1-git-send-email-thellstrom@vmware.com> X-Mailer: git-send-email 2.5.0 MIME-Version: 1.0 X-Originating-IP: [155.4.205.56] X-ClientProxiedBy: DB6PR0601CA0027.eurprd06.prod.outlook.com (10.169.209.13) To BLUPR05MB756.namprd05.prod.outlook.com (10.141.208.151) X-MS-Office365-Filtering-Correlation-Id: af4b6d6e-ac00-496d-151c-08d475b6c398 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423058)(201703031133064); SRVR:BLUPR05MB756; X-Microsoft-Exchange-Diagnostics: 1; BLUPR05MB756; 3:at/x+JqxDCjlCkTsNpcq55SQvGCqB0g4hUz+vkRXB2zTyvheFaheGeQGkFeVdQWtWrWYPxZhN5JzsifygVkOLLwbHYWej9kzfEixK4pei99vbLiz4lLtDHFWkq50PkI3T5/6a5RPvbaRrmMEZdC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j1X2LdqIwQv4V9THnJ/fXqDHQlq564fL0M2DPKSky8r+egMv+u82Jya7mBkuLlS19Qht5qrhlQQSS0n2M9wjgFIbGtgisVOmM36lzKuGyZJwIOxiL22yngPVrXExWay27ju65+wIZaNdTDv8PDXTqHRlBUNdqU4Qzj03HLk/4/gzeUlqUNpxkifUu/53CDjEc5bIbrRblusR7R1H6Sd81EiHntEDLZD0D/mXy/hvol1SO7jTrN23JRCU9Rt/Ihu306smsz/TLittH3c/iAc2MjmHV/1+hOubFw4zeZeWd8EqstcVBfXrdPbbmkerN8B0AUbjwmK6ElGULh3Iep5k96JtROJ7pPdXpnCh2lVwKFShPxk+0Lu+V+73KEbzZlZtfE3SPhbEChH7dLWG9K4tCxUKOMldbS1H980gPsb X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(61668805478150)(9452136761055); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040432)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(20161123558025)(201703131423057)(201702281528057)(201703061421057)(201703061406057)(6072148); SRVR:BLUPR05MB756; BCL:0; PCL:0; RULEID:; SRVR:BLUPR05MB756; X-Microsoft-Exchange-Diagnostics: 1; BLUPR05MB756; 4:ReaByjc4Prd1Almj20IzfK3r1tQBPRzR2AEJ2cSlx2fKqQwDCO34XFvyAfdwiUhBT0Ni0mMSt63/KRm5o04lRaSHpTqHlmr0edS1i8Fj1qxOThArxaP4HhzRmjhialQ0WR7tbVShz704Jqi4VZ1pu8+61K4I/eLd9wh0jje3XbMh4zU9qUt/5J2rdlTx2ugiHk8RlUh8RqMBz8lM6InzqD90dRf6g26ijhEALG5Ypg6pIKqcSFGoSYTcPKc+phRna59Fp259a3z58sawY4zxAADcdV/sxQwxkcoC8k0KTPeILfPb3H1vz4lQJyrSbUETkA/6mMx7p9uRZDsQ4MfXITZzBoSNd7MDMxoBneLnxDKkVXzTW/v7fVcjGQsxrrGbuOiNsNLxmnoJm2JE2/N2oiJKOWUKT0VbBh7GNAiO55KsLUm8kEzh01ZiFlFGTHqNz5L/9/zWEDVI1a64MJp1o3d2jXTCIjuKWNThOzseZJVXwvWGjGjONZkMTZGtwTa1wpaDQN7lHsRwBrlYzT4Ken0O9uYZM9jPJJTYAOGdace2ptOBViNFcN4sf453X4hCNLpm85c8jJtooHKa136rLgwZuDZ5Kx5DGadPwi5JceWD7ws62qjiE1HHw+rqyAUANiLG6e3B//uKTpOjlUKaUnHlNZyHutbRjaRcqiG6+IF50Al2s/w1Cz9OKaGL3TYBB/HMevR2qPTNbbY0A26qwqmJ+E6o6rkzlKAQiMYsd8ICA4qzIr5T0ydonAnpUZf8gsCunLghJpHTPXvHbDMJHJUz553IC20vwcn8vVtcdrzvnTCk6dKFVfk0bEDHCqVE X-Forefront-PRVS: 0260457E99 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39840400002)(39850400002)(39400400002)(39410400002)(6486002)(42186005)(50466002)(5660300001)(36756003)(81166006)(6506006)(33646002)(53936002)(6916009)(2351001)(6666003)(5003940100001)(86362001)(7736002)(50226002)(575784001)(66066001)(8676002)(305945005)(2906002)(6116002)(15650500001)(3846002)(25786009)(110136004)(6512007)(4326008)(38730400002)(54906002)(189998001)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR05MB756; H:linvm2.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR05MB756; 23:AmL2Cppos9cnzgwb9nnUOkRkTb89L7u3Zi6pyvEtVP?= =?us-ascii?Q?jVI/57qtqOqq+TtLfF2cOJCd6nuSHOG9eG+UrVzOgP0vb74yM6pa7GRmAQjb?= =?us-ascii?Q?0GDq8UepUVX0mKFRFvNHnnS1VGbruPaTmm9rDcF2HsJgtV75mmwgG4FibzJT?= =?us-ascii?Q?Rl2WLQ681dBsSqaSvhSuW8GuZriXZUTg2qqeaABctc9MI9uJy20wEAAdbNPM?= =?us-ascii?Q?UOLJIPZLdmhgr74b5HvFelD9MLT/MffNcrRz/QQvrCxtN+hMMDiy0emWftOy?= =?us-ascii?Q?1Pe3oyaE5PL9eIqFz6a0JUT0BZgqZ37HWkKAsvBvDTMasZX5eKL20tEQS5DX?= =?us-ascii?Q?E3VlruKX0jZLWXsLXwlw+Wj8LtlMS6M+bVGv00DidAEyF081HUuMIJEKAmfi?= =?us-ascii?Q?Xxi635/jjD0z+lVjnIyI2VhDoRDSk9jaEZPhRnQDRO221tajjnijHRX2TMW2?= =?us-ascii?Q?RwbSiyLqyupK1ddrbB7eyMoxPxlgBzKeriNDWmels9jzin17RqTeAeBIyHuH?= =?us-ascii?Q?GH6SsUkAa+qvIRRq2hncQ0tZfehTHc1Dg+YW5HqsDb2RQfrnf1edkWpsktLK?= =?us-ascii?Q?dHsOmAh7+sZiL6b+ymAaxi3SuifOCWfNGTABnefhO198Qh8T1iL7nkMHp+VH?= =?us-ascii?Q?Uo/gG9jmauUpbP6o3JcQdRT3/rDLEmWXmzoJokkmHmcWMLwFxJRrFmHkJkkE?= =?us-ascii?Q?2dWdK5fjdXxHXEHY4mttKVdLbgtCF/p6jb8Kgb9OJwbv1TJHByo5aQEv7lWZ?= =?us-ascii?Q?QR5ylxbwOtFb7uI1LyIDS99CPZGbmqzZPMl8IxGOVTlv2tYSyauJTrXgfenK?= =?us-ascii?Q?e0TA2gaaZbrnksoIieLkCnj0sOUL7ocQEvn7W8zDnCE5SZWpHdOUw97m/N6K?= =?us-ascii?Q?KihzUmUrLWlMYEZiE4VohVO7Wni6TatSy0tch2K1VYCFny7/Guvc8g//NFCO?= =?us-ascii?Q?pzKCTcFf7m2raPAaahvE4Sip0E31BESSgVsaZGMfZ697nCf1V7WcCPBM/lqD?= =?us-ascii?Q?j7GOEJpyEN+3VlXTGeLP6Q?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR05MB756; 6:4ulY/IP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6Cv2jEHk5plfx4LiqioqTA==; 20:+BUX0wIKU59e9nrmrxkfdcgU0JwLZQAsTSOealWAdQ1T00lq/Vd1rwgYH9zv/4Vw+CkCOhCWJ/GAy+AgPzoNC47/VCr8nBp9U1roUaW2lHQiZiUeC+8Qwm5ty9T1blOWPpWYmE2zucDF6uPkwfXOwufpmJVfd0V8ZExos3pKrtA= X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Mar 2017 08:45:18.5709 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR05MB756 Cc: Thomas Hellstrom , stable@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The mesa winsys sometimes uses unimplemented parameter requests to check for features. Remove the error message to avoid bloating the kernel log. Cc: Signed-off-by: Thomas Hellstrom Reviewed-by: Brian Paul Reviewed-by: Sinclair Yeh --- drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c index 1802d0e..5ec24fd 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c @@ -114,8 +114,6 @@ int vmw_getparam_ioctl(struct drm_device *dev, void *data, param->value = dev_priv->has_dx; break; default: - DRM_ERROR("Illegal vmwgfx get param request: %d\n", - param->param); return -EINVAL; }