From patchwork Fri Aug 24 12:12:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Chunming Zhou X-Patchwork-Id: 10575275 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3F67914E1 for ; Fri, 24 Aug 2018 12:12:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 301A82C39E for ; Fri, 24 Aug 2018 12:12:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23AF02C3B5; Fri, 24 Aug 2018 12:12:25 +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 E9D6D2C39E for ; Fri, 24 Aug 2018 12:12:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 13AAC6E686; Fri, 24 Aug 2018 12:12:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM05-DM3-obe.outbound.protection.outlook.com (mail-dm3nam05on0626.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe51::626]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9DB066E684; Fri, 24 Aug 2018 12:12:19 +0000 (UTC) Received: from DM3PR12CA0071.namprd12.prod.outlook.com (2603:10b6:0:57::15) by CY1PR12MB0248.namprd12.prod.outlook.com (2a01:111:e400:50f9::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1059.23; Fri, 24 Aug 2018 12:12:16 +0000 Received: from DM3NAM03FT044.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e49::208) by DM3PR12CA0071.outlook.office365.com (2603:10b6:0:57::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1080.14 via Frontend Transport; Fri, 24 Aug 2018 12:12:16 +0000 Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from SATLEXCHOV02.amd.com (165.204.84.17) by DM3NAM03FT044.mail.protection.outlook.com (10.152.82.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.1080.9 via Frontend Transport; Fri, 24 Aug 2018 12:12:16 +0000 Received: from zhoucm1.amd.com (10.34.1.3) by SATLEXCHOV02.amd.com (10.181.40.72) with Microsoft SMTP Server id 14.3.389.1; Fri, 24 Aug 2018 07:12:15 -0500 From: Chunming Zhou To: Subject: [PATCH 1/8] drm: fix syncobj null_fence_enable_signaling Date: Fri, 24 Aug 2018 20:12:03 +0800 Message-ID: <20180824121210.19101-1-david1.zhou@amd.com> X-Mailer: git-send-email 2.17.1 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)(39860400002)(136003)(346002)(376002)(396003)(2980300002)(428003)(189003)(199004)(104016004)(68736007)(77096007)(186003)(53936002)(8676002)(81156014)(81166006)(72206003)(26005)(4326008)(356003)(478600001)(305945005)(86362001)(5820100001)(54906003)(8936002)(50226002)(316002)(97736004)(47776003)(50466002)(106466001)(105586002)(2351001)(426003)(336012)(476003)(2616005)(126002)(6666003)(5660300001)(6916009)(2906002)(53416004)(486006)(14444005)(1076002)(2870700001)(23676004)(7696005)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR12MB0248; H:SATLEXCHOV02.amd.com; FPR:; SPF:None; LANG:en; PTR:InfoDomainNonexistent; MX:1; A:1; X-Microsoft-Exchange-Diagnostics: 1; DM3NAM03FT044; 1:ABzVJTq/T0wf4lWquqi53lM0O7xd13FGxtJcAznCGavU8LdHebiVKZbNKgEeKWLQvmeuhGUH4KlVfjQKDP32VdT7de9cOZ4hygJfBACwKuf5Xqvm89ylUD3whlvYSheO X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a458bc75-0c06-4ff9-8386-08d609bad553 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060); SRVR:CY1PR12MB0248; X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0248; 3:5cwC6n5sHx/geWPA8SXSDWyDCI13AUoNVB2gVaT68VCrVswzqHdKFRssaqdzmqtXSnOTPhcfUZ3S8ifc2Mjmm0P39LThUMsisKgLK+H8B//qKwQ/23mEq8McTan2RRH96VRmoMgElz02JYy3UwD/mI2S7NgYy3EtgSCEURQW/Qv/0035N/jSI9Xiwvi5Gn0mLXdMoOccgTJWWzoSME/lECv4XRyEnXUc+i+U9AB8ead1MAdB581aPQ/0sjVeG6nrkk+GHQdStOLsxBfBKqlpP6GPFB5MbNmVSpB2vcWxlMxSLBfuqPhvjvyGcyAV1gminfw/pN0rRuyF0SVG4iU4omLfNpRhP+TtQI9JuGyu/tw=; 25:TvutDzDRVtazFQDWlBc34wT2kQEIk56weZazp9E6Vmvw2ixyDWn6LJusxYZTk7qaAkGEYpleQHv1ib5amKvM8lIToaJWEzrBlyIszceNPDTOsgW2wciW3uOieBR2Y3TI/ngQTNiTArO/F6qqX2Bzo3nBodW6chZ2mLmGNN2cyVsj3sqFcdf8V43GrnxSHjkIhVNMl2bk6ZlIV1AUnDIpFfB6kRt6NQCr9qANqlyJjZjwsowrANxkNVEmTr8+TW/z5YyyvrPxxOU0SYKamArf2vFVlHDbC6Y+caLe6mQNYW356YyP43BQvq8ZaR7rBd3UZI5EOkYa3MI0uQwSVRkIgBHlJ5y7UK+BgGcxFw9M8Is= X-MS-TrafficTypeDiagnostic: CY1PR12MB0248: X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0248; 31:ltJFD3EQ39xhmQqsrYbRxb4sFdphSmVDoraOAOjNXxFWGa42262qXXHiY/nco9L5tqi9+UXPHV5znAMbL/iancBUC1IsT0fNJ+pFB/CPrvAseORKwIAshA3CHzLFvlpCV169dduqOftfMgY15+OGJEQYYtH6U9rAexqiRQWa1OtvowlNq5spuo3YB+eu4Fm7btoFH5SqX9uAQMAak7VaceH56BfeYT3WIeWMKc4JGlw=; 20:6cyCg8bVLaWhPJjOREti0dnqfg8UYocJm7DDOsO0llwMV00uWsbdk9TicKhfVG6TwTssjTq/mbrww4cNVc7G1XfNebEtyXDkYJ3c+EspU7OhmZWlArtpEpDcn2gCyzC895gOcjyd22q4U6nDF5OtfUgmqM8NgHxvIcWEqkKEC5neb4zSmUnKBjLQ2x9zc9NqIykYrXQxNZm+W8eRsgOxwflMvQNR6dvMsECmGeMECR6qceJhxBEyKFRfsqEujtq57mWry5i8D8qUtGF+c3w2t/ZBq59kPx4OufSpsFn7nFrtu8gAoSV85NlORnqMNkWraVuqDbhj9BWGo8/mT9p9et+VEiOPTusJDsuwzVKvYH8Mv5pbbtHQzTEWzPtsuw9AoBv0wWCkAVjyiMY9mHsPzA8NzaF2rOKksoBmXiKEuYavFt8IYoqNfCfo6ztNJgtXzZXAkRra9GvFLv9TEEhkRrYdYlS83zlD6UNre4NeBLud8YbCU/mbSuwSOa9PMhHr X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93003095)(3231311)(944501410)(52105095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(201708071742011)(7699016); SRVR:CY1PR12MB0248; BCL:0; PCL:0; RULEID:; SRVR:CY1PR12MB0248; X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0248; 4:a0OAHaMt0g6RglGMtx10IaB6Fw/geOQzV7sysDhNqq//MkGAFE3AdlLlSpUgAo4SpcDITjQleoQ3A1nImnDmicOzvITV76JrxTol1sLy7swyn3XbzfdVIc0AUhiPaTQzFpS+/ytyeyCDGIbX7PI3Y7h7pz1UwGs6gq2gSEikPlbmoOPmi+ZkfHY+1v/7lmVM6uo0H2GaXgZESmHmBnmZ2uAXz6UKLqotgvahuyzdDSmwjqJE1k2AH+r7dc6cKKs0NjUqMsCbXRWW+0DuNaEqAs+wQwD+3zt6NwBVv3DjDEml+s1Q2KMbhoVpm39uaH8W X-Forefront-PRVS: 07749F8C42 X-Microsoft-Exchange-Diagnostics: =?utf-8?q?1=3BCY1PR12MB0248=3B23=3Avg1BLBo?= =?utf-8?q?Vc6Fk34IVYINweI5BHtN1jYmDEArwbJGeIy2COI5WuKkfc7G6I+eHaj1qLLNk62Oz?= =?utf-8?q?s4zj+y4/GKdss1vVH3O3i03Veg3gLovWn2sHNKl3KAtga+V1nBA1mhgtnije9gZub?= =?utf-8?q?AV+g6e9AXmxgh45cVsKXKw30apTRCoV6Hr4aW9J9Bfp5bMCOXPWBzlcPn/FC6r7HS?= =?utf-8?q?2XaxURINua+Mp/n2Z7bZmYftXoCFxgmEW/JpPXQmcpLOv/c8yKKjn/6k2RtsLw6z9?= =?utf-8?q?X/U3Pozaq1DD9kvosouy0V5fhOpP2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IwunVQaLgKNw8LkG4a4BdEnxj+0r3ePU96wTobTCjHx/rN1bdX2TxOCnac7jbUAPwzHng0YRWB4r5p4vzY97QqbW+jJRP8E2RxnJ7xs8C6OTlx2ycQExJc0OpaW17KGzC3JU2xon9SJ74fzJ7SgG5EcCrqF8ztt23aXfGY310QMVv1+3GE4eDrmGMm8dn56t3oaGyHRqz+0F5BYYp7zmSP2Ngyil SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR12MB0248; 20:+1zYSA5MHU7tmXopQF0MlZTPYjjGyOx+nbBEy5w1PV8AubHQRUU4oSsrM1kwEPzpXaSAcCtoWVgzGSOR8FVa87p+ZBajZXNGdXxmri3jaADc5NTRkT2c8hzJIs2chK5Q9NdNjGSc/50ZqmBluG1uSo/pZ7JMinqwuziiopbm/pzwj472dqNAboypVjKTPQ2Z7OpUJIxT++RqqfEgL1bog755whz8qc7/zSeL3Rbk952ZtFq2w1s33JJv+a3lcg4M X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2018 12:12:16.5216 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a458bc75-0c06-4ff9-8386-08d609bad553 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=[SATLEXCHOV02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR12MB0248 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: Jason Ekstrand , amd-gfx@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP That is certainly totally nonsense. dma_fence_enable_sw_signaling() is the function who is calling this callback. Signed-off-by: Chunming Zhou Cc: Jason Ekstrand Reviewed-by: Christian König Acked-by: Daniel Vetter --- drivers/gpu/drm/drm_syncobj.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/drm_syncobj.c b/drivers/gpu/drm/drm_syncobj.c index 3a8837c49639..d17ed75ac7e2 100644 --- a/drivers/gpu/drm/drm_syncobj.c +++ b/drivers/gpu/drm/drm_syncobj.c @@ -184,7 +184,6 @@ static const char *drm_syncobj_null_fence_get_name(struct dma_fence *fence) static bool drm_syncobj_null_fence_enable_signaling(struct dma_fence *fence) { - dma_fence_enable_sw_signaling(fence); return !dma_fence_is_signaled(fence); }