From patchwork Mon Nov 27 12:31:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Grodzovsky X-Patchwork-Id: 10076755 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 4F5F0602BC for ; Mon, 27 Nov 2017 12:31:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48138289EA for ; Mon, 27 Nov 2017 12:31:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C8B728B7A; Mon, 27 Nov 2017 12:31:55 +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 C4847289EA for ; Mon, 27 Nov 2017 12:31:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C0C9B6E2CD; Mon, 27 Nov 2017 12:31:53 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0076.outbound.protection.outlook.com [104.47.33.76]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1C5486E2CC; Mon, 27 Nov 2017 12:31:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Y1QJNi4+JwpytFn8Ni2pxO4k1LUZkGzYY/+1jN35v5s=; b=akScvt+tGO2gd1IpP0OJebHtoVR0H5tOTvpBDsjzOF0VY0gIrowcdMbLmtek+27DK8/ZXUmiF6Xs/kPTE3yLbsWA/dupflaPVl6unZlmims7yrOOmQOwDSUw+XLlUwdhapmvW7KcjAmgGB4VT2AmCkBN6txx1BiyMyXoP3i81n4= Received: from CY4PR12CA0027.namprd12.prod.outlook.com (10.175.82.141) by DM5PR12MB1275.namprd12.prod.outlook.com (10.168.237.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.260.4; Mon, 27 Nov 2017 12:31:50 +0000 Received: from CO1NAM03FT024.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e48::202) by CY4PR12CA0027.outlook.office365.com (2603:10b6:903:129::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.260.4 via Frontend Transport; Mon, 27 Nov 2017 12:31:50 +0000 Authentication-Results: spf=none (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; lists.freedesktop.org; dkim=none (message not signed) header.d=none;lists.freedesktop.org; dmarc=permerror action=none header.from=amd.com; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from SATLEXCHOV01.amd.com (165.204.84.17) by CO1NAM03FT024.mail.protection.outlook.com (10.152.80.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.239.4 via Frontend Transport; Mon, 27 Nov 2017 12:31:47 +0000 Received: from ubuntu-1604-test.amd.com (10.34.1.3) by SATLEXCHOV01.amd.com (10.181.40.71) with Microsoft SMTP Server id 14.3.361.1; Mon, 27 Nov 2017 06:31:45 -0600 From: Andrey Grodzovsky To: Subject: [PATCH libdrm 2/2] amdgpu: Dynamicly disable BO suite "Metadata" test. Date: Mon, 27 Nov 2017 07:31:28 -0500 Message-ID: <1511785888-7817-2-git-send-email-andrey.grodzovsky@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511785888-7817-1-git-send-email-andrey.grodzovsky@amd.com> References: <1511785888-7817-1-git-send-email-andrey.grodzovsky@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:165.204.84.17; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(346002)(376002)(2980300002)(428002)(189002)(199003)(86362001)(478600001)(8676002)(356003)(53416004)(305945005)(68736007)(81166006)(81156014)(5660300001)(316002)(76176999)(50986999)(6666003)(54906003)(16586007)(7696005)(97736004)(6916009)(51416003)(2950100002)(189998001)(101416001)(33646002)(2351001)(450100002)(4326008)(47776003)(72206003)(104016004)(50226002)(53936002)(8936002)(36756003)(48376002)(106466001)(50466002)(2906002)(105586002)(77096006); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR12MB1275; H:SATLEXCHOV01.amd.com; FPR:; SPF:None; PTR:InfoDomainNonexistent; MX:1; A:3; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM03FT024; 1:iM5BPqwqkhFxTvyFhzOy0L5fz0TCYijNvdxtYX9wmymsAsoOS0NkzoZHDVtbZyFZeDBItSj5Ho8tbGpG1cKTfAuNJKxq9JGDWc9luj0vh4Q3/ipQMDIwCnVluwKGqiY4 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 947e7672-e963-4cbf-6e61-08d53592d3eb X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603258); SRVR:DM5PR12MB1275; X-Microsoft-Exchange-Diagn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pWqn92O0MucCBDBzhRM8VwWPrxmHA9KhMk8/HbtYDpiGCDKnWIgGDQOaE5mtpP88GZcCvdSYBtJH8H9JC5isMu51BTgh969JhV3jcFV8st/XrT4rKBXrI+0+W6Za9ca9aErgjcLzL/ETB4LSmwcPt6p8L10qlWbnkSkBrCq3tZu6MGqgZJpN0e6B4mNdoxFpBy66C2/m2yQuC28dZzNWACb2paf7v9qzH8KZMtXmHy0RlMYp/SiL3v5zNshJXRGJS4jMyFneIYJ2UdpLV3ayz2Bds3tvgVVEHKJc6QuslU7i/zacg4cyBjXn4/To/032G1d5dec7kpglO2yFdOew5b+GIgGmDtjJmnX7udX+gf1jq2xyyO5CeQgJbi1pFERKYD/zZN19g03yFzZ50WqxlnvvDePwU1vlaH6TyxQr9NrlM6VKnXuzLk45MH0v4SdTW75NgmDxJE5LtLkQKQ0S5suk4ORH7YEqb81AWfGK X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(93006095)(93003095)(10201501046)(3231022)(3002001)(6055026)(6041248)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(20161123562025)(6072148)(201708071742011); SRVR:DM5PR12MB1275; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:DM5PR12MB1275; X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1275; 4:v/MjG5TGSkqiYkhWrZS+x2RTshYcNqVtFpXa2lidtmwTfhmM5yzMm/tur9y1DQvfb98taDL2SWnJWHFCuOeGBF5Ebl1zYK1Eh6d8yL4Ez+W1J2VFl1hKXBArZ1kiX94BIvTDNIzw0Y0fINjT9lgCf5GeWr/Dji4Hc9IydSXrYPuLnUIleHrbW/nZljjuih1yAvgP7vYFvlk3BLJqyDMchhmZ8zwsxCfarABksS4bS46nVhFd31uEWLr6OC5YDSB93aJ1Lsk7hzXTkqfwoP9hLr0NqM6M4FzY3hBB1lSVmU4aPakgvHy4yp8bzhr6/4b5 X-Forefront-PRVS: 0504F29D72 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR12MB1275; 23:BS8WH6QzlMMorX839qVt3ajHlG3dPicAOYPX5ZGi9?= =?us-ascii?Q?QSFuhwp92bn+m2SQYTH6RWfG0BCde+Dz45dTpxfy9tKuBGKFa2nT8yVkuMHh?= =?us-ascii?Q?mJE50SguAieZJFQa5Ytq8JDZ5exyxqjndqAzkCWAHE5wRATQuROyV/vC+sb+?= =?us-ascii?Q?qMaE85I6xWqUTQiX85/LY8deMx3ZV+zLYS72kTaHftMK6aRXl1WOP8/SKz78?= =?us-ascii?Q?plNiolHwmCMTV78CDhpvdIIlFrtdv0m5AR3GZTEjd8vmO0tPjEzitVus3xjw?= =?us-ascii?Q?TWvzXkyV5rt6A4uAkHJoWjnACiP16cbLcvDMLrg0xbkBUZCdlzW2/IBnhR5C?= =?us-ascii?Q?5a3L+OZAYOvuc0reerKso6lY67q7/Ie92mGX25CGSTIGe5sHCEy1breQ0E6Y?= =?us-ascii?Q?29ac8b1gofC5D4h445kxtq45a6MX7JZ/71rlz2Q0sxBKJ2r0e/PNUvA3Wve1?= =?us-ascii?Q?2+kMGbCcN5FXm6QLfKQCgXctKTASFJHu1ZPlLDck+cEnx8+eFXnt3t1suP6i?= =?us-ascii?Q?ZTYQYBme6as8GLoiioP4Au5MabN39Ocl6rCWe8cToKXcmZYHrqAtCQlnkRtV?= =?us-ascii?Q?MCSHZVIST8Cn7whiFm0RJp9IvHHaqnPjC8qJyYecnTPzum6n6aI34fwOdrAs?= =?us-ascii?Q?O0vohbfNwGTO1BRm7u+3zGB2/ML7bQe84BYDRGt2LXuI5VBUr2ZB/t8WYQPD?= =?us-ascii?Q?licVMEMUVpioiAEaQnc/0TCLLPQ7fHPIcdRVzRXwaOzMhOr415rvJ4nn6G/d?= =?us-ascii?Q?sVwSM4Yb9qrx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ubv6GMMaOKyDeWzn3zH2uo9543HNN+hlq07U6uDXSk7q6ndJqVGC2Z/MSBSY3w=; 7:fXsvPksW0XrmBYtYG4zcwqw10Usr8MiCSioTmHQxJEZb1GIqHOkBEYnGU6Zu+xLuM7Fv6wUVTKIPTMXjqBIC+A/z/GgngpToKXj4DdQEwlX35jKZcFCgZC9owmsQV4JNmpKRwzw+IviZZY0aAE7EL9ewuLJOU7N6CFQxjiKchJTnQmJyttZsyL2Sxy7GFUwLhDGMtrf24jnz8sEhxy6vAFla9tlr/S00ozD+5tQ/ThC7RdGfbhJJUMKKo0u/Why0 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1275; 20:rviteTlJF8eOrMw1eKnKdfzCZyj+8SY+tMbesA7hHLKanXKv1Sv8O8xPHFGirNUcLqGN1SbwvtqwJTb8Gq1s7dADJcJnxD96rN1+IalonWGvahIGaHG9StPo2Q4kFCIJsHYCIdBSfkvprZxB85QGIVmD6A2o23UauMkeacVhve8q05RBSxAEWJfv6Xn0CnZW2QcrH3tZmYvr+OA2VY0ja9epWLhWlWCjTMvDQNQ3jC6C+CnoKA7JbOzfsKlClnXB X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2017 12:31:47.6431 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 947e7672-e963-4cbf-6e61-08d53592d3eb X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXCHOV01.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1275 Cc: amd-gfx@lists.freedesktop.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 Disable the test instead of doing #ifdef 0 Signed-off-by: Andrey Grodzovsky --- tests/amdgpu/amdgpu_test.c | 3 +++ tests/amdgpu/bo_tests.c | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/amdgpu/amdgpu_test.c b/tests/amdgpu/amdgpu_test.c index e611276..50da17c 100644 --- a/tests/amdgpu/amdgpu_test.c +++ b/tests/amdgpu/amdgpu_test.c @@ -417,6 +417,9 @@ static void amdgpu_disable_suits() */ if (amdgpu_set_test_active(DEADLOCK_TESTS_STR, "compute ring block test", CU_FALSE)) fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg()); + + if (amdgpu_set_test_active(BO_TESTS_STR, "Metadata", CU_FALSE)) + fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg()); } /* The main() function for setting up and running the tests. diff --git a/tests/amdgpu/bo_tests.c b/tests/amdgpu/bo_tests.c index 53e76c1..24698bc 100644 --- a/tests/amdgpu/bo_tests.c +++ b/tests/amdgpu/bo_tests.c @@ -51,9 +51,7 @@ static void amdgpu_mem_fail_alloc(void); CU_TestInfo bo_tests[] = { { "Export/Import", amdgpu_bo_export_import }, -#if 0 { "Metadata", amdgpu_bo_metadata }, -#endif { "CPU map/unmap", amdgpu_bo_map_unmap }, { "Memory alloc Test", amdgpu_memory_alloc }, { "Memory fail alloc Test", amdgpu_mem_fail_alloc },