From patchwork Tue Dec 12 13:52:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qiang Yu X-Patchwork-Id: 10107923 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 2E0E3602B3 for ; Tue, 12 Dec 2017 17:24:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1202F262AE for ; Tue, 12 Dec 2017 17:24:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 054C5298BE; Tue, 12 Dec 2017 17:24:50 +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=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 94CDB262AE for ; Tue, 12 Dec 2017 17:24:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9B3C66E238; Tue, 12 Dec 2017 17:24:48 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 12731 seconds by postgrey-1.35 at gabe; Tue, 12 Dec 2017 17:24:47 UTC Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0067.outbound.protection.outlook.com [104.47.36.67]) by gabe.freedesktop.org (Postfix) with ESMTPS id 45F4A6E238; Tue, 12 Dec 2017 17:24:47 +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=BFiyMt89+FgpVapAYRzOB9nFMy19NYKuBZUawwOuyEk=; b=4YeHEkn/xR/YhMaj3Gn7EPppM0qvHz6e9kIZCpOGe8umK4FNe9YRYgkU3kJHoO3Aq9ZZ2bTGHVsKdtnWJWiGq7oOc74dwdHW+zxb4dIbGX7p/Ll5n7BVMhryG0/SyNgnjrqrM0PQg5gcEAadkNhOBBQMambxidOfE4+9dlaCDP8= Received: from CY4PR1201MB0117.namprd12.prod.outlook.com (10.172.78.11) by CY4PR1201MB0103.namprd12.prod.outlook.com (10.172.78.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Tue, 12 Dec 2017 13:52:34 +0000 Received: from CY4PR1201MB0117.namprd12.prod.outlook.com ([10.172.78.11]) by CY4PR1201MB0117.namprd12.prod.outlook.com ([10.172.78.11]) with mapi id 15.20.0302.013; Tue, 12 Dec 2017 13:52:33 +0000 From: "Yu, Qiang" To: "Grodzovsky, Andrey" , "dri-devel@lists.freedesktop.org" Subject: Re: [PATCH libdrm] amdgpu: Remove dummy CU_ASSERT_EQUAL. Thread-Topic: [PATCH libdrm] amdgpu: Remove dummy CU_ASSERT_EQUAL. Thread-Index: AQHTc05PPAQYOol5ckOZySrIPSuaQqM/uhDG Date: Tue, 12 Dec 2017 13:52:33 +0000 Message-ID: References: <1513085813-2836-1-git-send-email-andrey.grodzovsky@amd.com> In-Reply-To: <1513085813-2836-1-git-send-email-andrey.grodzovsky@amd.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Qiang.Yu@amd.com; x-originating-ip: [114.82.63.218] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR1201MB0103; 20:DDHep+Zwb46N87Ari+VG8oxJE6xLaQF7UGuS8J9G2izqIBFKfjMHIy14XXjEytpSvaUZ8urff6BjNNSWfKpbk6eihFa4zEKI3TJ5xBUvPv9cmNEWMBhd0cFw/wGIbkPV61YrntvQIBa8nZVYZ1GmVdpgI6lGRDdWgB1a+vlpM9TgOhiEFR+dB87roVwdF9adfF+jISWLkRYn31E6xqk5JPzBfx1NM2zcQ9Ro+btZSGpQxOfzAl3ej04Q/+kwyUu8 x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(7966004)(366004)(39860400002)(346002)(376002)(189003)(199004)(6436002)(2501003)(316002)(2906002)(77096006)(6506006)(99286004)(7696005)(76176011)(229853002)(8936002)(2900100001)(59450400001)(25786009)(55016002)(14454004)(6246003)(110136005)(54906003)(53936002)(508600001)(3280700002)(72206003)(450100002)(4326008)(3660700001)(5660300001)(9686003)(86362001)(2950100002)(8676002)(74316002)(305945005)(7736002)(106356001)(105586002)(81156014)(68736007)(81166006)(97736004)(33656002)(66066001)(6116002)(102836003)(3846002)(53546010); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1201MB0103; H:CY4PR1201MB0117.namprd12.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; x-ms-office365-filtering-correlation-id: 0231e25e-5ff0-459f-0c8c-08d54167987b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603307); SRVR:CY4PR1201MB0103; x-ms-traffictypediagnostic: CY4PR1201MB0103: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(767451399110)(217544274631240); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(3231023)(10201501046)(6055026)(6041248)(20161123560025)(20161123558100)(201703131423075)(201703011903075)(201702281528075)(201703061421075)(20161123564025)(20161123562025)(20161123555025)(6072148)(201708071742011); SRVR:CY4PR1201MB0103; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY4PR1201MB0103; x-forefront-prvs: 051900244E received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0231e25e-5ff0-459f-0c8c-08d54167987b X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Dec 2017 13:52:33.6429 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0103 Cc: "Jin, Anna" , "Ma, Le" , "amd-gfx@lists.freedesktop.org" , "Huan, Alvin" 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 Reviewed-by: Qiang Yu Regards, Qiang diff --git a/tests/amdgpu/basic_tests.c b/tests/amdgpu/basic_tests.c index a78cf52..474a679 100644 --- a/tests/amdgpu/basic_tests.c +++ b/tests/amdgpu/basic_tests.c @@ -1459,8 +1459,6 @@ static void amdgpu_sync_dependency_test(void) static uint32_t *ptr; uint64_t seq_no; - CU_ASSERT_EQUAL(r, 0); - r = amdgpu_cs_ctx_create(device_handle, &context_handle[0]); CU_ASSERT_EQUAL(r, 0); r = amdgpu_cs_ctx_create(device_handle, &context_handle[1]);