Message ID | 20181211103627.25985-2-david1.zhou@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <intel-gfx-bounces@lists.freedesktop.org> 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 7C9FF1869 for <patchwork-intel-gfx@patchwork.kernel.org>; Tue, 11 Dec 2018 10:36:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6BEF82A0AA for <patchwork-intel-gfx@patchwork.kernel.org>; Tue, 11 Dec 2018 10:36:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5FFCD2A0DC; Tue, 11 Dec 2018 10:36: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=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable 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 28B9B2A0AA for <patchwork-intel-gfx@patchwork.kernel.org>; Tue, 11 Dec 2018 10:36:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 79D7C6E0CF; Tue, 11 Dec 2018 10:36:49 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-eopbgr690077.outbound.protection.outlook.com [40.107.69.77]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8724B6E0C7; Tue, 11 Dec 2018 10:36:45 +0000 (UTC) Received: from MWHPR12CA0040.namprd12.prod.outlook.com (2603:10b6:301:2::26) by BN1PR12MB0050.namprd12.prod.outlook.com (2a01:111:e400:52::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.23; Tue, 11 Dec 2018 10:36:43 +0000 Received: from BY2NAM03FT042.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e4a::203) by MWHPR12CA0040.outlook.office365.com (2603:10b6:301:2::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1404.18 via Frontend Transport; Tue, 11 Dec 2018 10:36:42 +0000 Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from SATLEXCHOV01.amd.com (165.204.84.17) by BY2NAM03FT042.mail.protection.outlook.com (10.152.85.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1425.16 via Frontend Transport; Tue, 11 Dec 2018 10:36:42 +0000 Received: from zhoucm1.amd.com (10.34.1.3) by SATLEXCHOV01.amd.com (10.181.40.71) with Microsoft SMTP Server id 14.3.389.1; Tue, 11 Dec 2018 04:36:40 -0600 From: Chunming Zhou <david1.zhou@amd.com> To: <Christian.Koenig@amd.com>, <dri-devel@lists.freedesktop.org>, <amd-gfx@lists.freedesktop.org>, <intel-gfx@lists.freedesktop.org> Date: Tue, 11 Dec 2018 18:36:21 +0800 Message-ID: <20181211103627.25985-2-david1.zhou@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181211103627.25985-1-david1.zhou@amd.com> References: <20181211103627.25985-1-david1.zhou@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)(136003)(376002)(346002)(39860400002)(396003)(2980300002)(428003)(189003)(199004)(126002)(486006)(105586002)(50466002)(110136005)(6666004)(76176011)(104016004)(446003)(11346002)(68736007)(336012)(36756003)(47776003)(186003)(77096007)(26005)(2616005)(2906002)(51416003)(97736004)(476003)(7696005)(2201001)(86362001)(50226002)(426003)(48376002)(5660300001)(106466001)(450100002)(478600001)(16586007)(4326008)(53936002)(8936002)(8676002)(356004)(72206003)(81166006)(81156014)(53416004)(1076002)(316002)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR12MB0050; H:SATLEXCHOV01.amd.com; FPR:; SPF:None; LANG:en; PTR:InfoDomainNonexistent; MX:1; A:1; X-Microsoft-Exchange-Diagnostics: 1; BY2NAM03FT042; 1:FaEfzgyAgS4P5n+WMERb3p6sScSwDpgR4atk04ExgZ+xBctzY0qn2gDKM0ZTrcc4uSdD2dHJh38fJNmUj+5JAWF/2AlBsNdzha8wxcOygpPzAXRDW7PFA77veuox2nCV X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fa8e5adc-0a74-47ee-dcc6-08d65f548a62 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060); SRVR:BN1PR12MB0050; X-Microsoft-Exchange-Diagnostics: 1; BN1PR12MB0050; 3:NYIPNZoHGHembThVDP+G0kuDgyEzkcC9KGzP69HA1nc2gfskHfmz7tiVQtUp4e+7h5uexj8KJ724J3toh2aC6hUnDK6Sp7aAUYXN3DPOXgPZuljyphvKHcqTgqHnfp+oBxapLHiRPbirLaCI9LdLe03NRFxzBGgSWvIdSJGoFmjJCEJFfOcvK6vbgfaGgNLeVv7R+TT0xcJyLlRsb7jzSG1wEry1YYHrRghEFrWPGGWv+0E79E3RxHMDINMAwKGP6Yzpcqh26OAaZuGveEoZ/uWSs51YFwn/EhhE6tAQylcYe7eWIyNvi7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zBOeHthre7KLQ63I9Rj0Fez2R7dq5aWhJq+k8B/jGASLR1b7HwxCg/YKcdO1oHyWxl1S/psQg+q2eM3DJOVZxhy0K3hjro1CK2BsCtf50vsuxGp1hnyvmXSolDD1zPdg4SmbXkX7xXBIBvKx/gw0blc4JmgbTNcbyc1aYG1teKn X-Microsoft-Antispam-PRVS: <BN1PR12MB00500999E7F87221D6CF02A0B4A60@BN1PR12MB0050.namprd12.prod.outlook.com> X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93003095)(3231455)(999002)(944501520)(52105112)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:BN1PR12MB0050; BCL:0; PCL:0; RULEID:; SRVR:BN1PR12MB0050; X-Microsoft-Exchange-Diagnostics: 1; BN1PR12MB0050; 4:ffM4bUG1G00VBJBpgnjAANBUqaOsSWDQFNLlnOYdcc5bW5tWowJnpEhz2yYmtsedBBKhzOdk0ZQI0/nAZLOwUSg9H9OyJgC4s0JxZEeDVXTw8zZodpAjcNvbHI8Qd8fVCi24IMH2x16Z+VwCq5gjuXNOBGfB29738NvIQb/CoXXz2v6mlbI94LAN26zHwr0B/AElU/yRoXqHt5vX+HwBj05T5l3cg/NAGeEh3cT63c/bMar+aooE/i7Ln/kxKn0OK/E0Zu1XxAmgMjlfFXhwLg== X-Forefront-PRVS: 08831F51DC X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR12MB0050; 23:YpyuFNAsA07S8+s7OBwUjw8ZlL/Drd49eRqRxxkQ7?= mqLAmVraOe7BSIcAYN/0vYNzlarTkIm5yAF0oQN0jGJxLZ38tAGPNOuLURXnjmQKvi0DCMODXb+VO/aRT74JTmgdn8n3NkiKB0eN+T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ruBGmTU5eJP0K7kmjG2APUHavVndGUfjI9BzUn4TKPyAtDeSKRD8tUNjPM0A9JzPXLp5G8gS3Om4iYRA9Y93VuzE++Pj7PdrTA== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR12MB0050; 20:DpD1+KUt4aA+kw2vHBOpDtLSrFFoqpuMXZTNQJp0dny7yn+0Kvj0866tcW4RDJXQQIdLZ62ns9y1NrqDCrU+9ABmWsM6vEvkkytkNAQssjmC8/wdr5cRgUmN37i2aDKAdTcGyQO4pjVTEDmImbUDM6hEPDwu89JsAwJyJ5pu/VAud4XTQ90x3W/LbukrMvHmyktdugNwrAp9Qx2qM43AMToUDv9DPR7V8PsL+nptYRLtGakmg0lRLMTR8eKIzJ+z X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2018 10:36:42.1098 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fa8e5adc-0a74-47ee-dcc6-08d65f548a62 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: BN1PR12MB0050 Subject: [Intel-gfx] [PATCH libdrm 2/8] addr cs chunk for syncobj timeline X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development <intel-gfx.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/intel-gfx> List-Post: <mailto:intel-gfx@lists.freedesktop.org> List-Help: <mailto:intel-gfx-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=subscribe> Cc: Chunming Zhou <david1.zhou@amd.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" <intel-gfx-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[libdrm,1/8] new syncobj extension v3
|
expand
|
diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h index 1ceec56d..a3c067dd 100644 --- a/include/drm/amdgpu_drm.h +++ b/include/drm/amdgpu_drm.h @@ -517,6 +517,8 @@ struct drm_amdgpu_gem_va { #define AMDGPU_CHUNK_ID_SYNCOBJ_IN 0x04 #define AMDGPU_CHUNK_ID_SYNCOBJ_OUT 0x05 #define AMDGPU_CHUNK_ID_BO_HANDLES 0x06 +#define AMDGPU_CHUNK_ID_SYNCOBJ_TIMELINE_WAIT 0x07 +#define AMDGPU_CHUNK_ID_SYNCOBJ_TIMELINE_SIGNAL 0x08 struct drm_amdgpu_cs_chunk { __u32 chunk_id; @@ -592,6 +594,13 @@ struct drm_amdgpu_cs_chunk_sem { __u32 handle; }; +struct drm_amdgpu_cs_chunk_syncobj { + __u32 handle; + __u32 flags; + __u64 point; +}; + + #define AMDGPU_FENCE_TO_HANDLE_GET_SYNCOBJ 0 #define AMDGPU_FENCE_TO_HANDLE_GET_SYNCOBJ_FD 1 #define AMDGPU_FENCE_TO_HANDLE_GET_SYNC_FILE_FD 2
Signed-off-by: Chunming Zhou <david1.zhou@amd.com> --- include/drm/amdgpu_drm.h | 9 +++++++++ 1 file changed, 9 insertions(+)