From patchwork Tue Dec 11 10:34:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chunming Zhou X-Patchwork-Id: 10723457 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 AD7F51869 for ; Tue, 11 Dec 2018 10:36:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C41D2A0AA for ; Tue, 11 Dec 2018 10:36:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 905AF2A0DC; Tue, 11 Dec 2018 10:36:10 +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=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 265132A0AA for ; Tue, 11 Dec 2018 10:36:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 757F76E0C1; Tue, 11 Dec 2018 10:36:09 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-eopbgr810048.outbound.protection.outlook.com [40.107.81.48]) by gabe.freedesktop.org (Postfix) with ESMTPS id 71E686E0C1; Tue, 11 Dec 2018 10:36:06 +0000 (UTC) Received: from MWHPR12CA0037.namprd12.prod.outlook.com (10.172.49.23) by DM3PR12MB0842.namprd12.prod.outlook.com (10.164.7.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.22; Tue, 11 Dec 2018 10:36:04 +0000 Received: from BY2NAM03FT064.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e4a::204) by MWHPR12CA0037.outlook.office365.com (2603:10b6:301:2::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1425.19 via Frontend Transport; Tue, 11 Dec 2018 10:36:03 +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 BY2NAM03FT064.mail.protection.outlook.com (10.152.85.143) 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:03 +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:01 -0600 From: Chunming Zhou To: , , , Date: Tue, 11 Dec 2018 18:34:48 +0800 Message-ID: <20181211103449.25899-9-david1.zhou@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181211103449.25899-1-david1.zhou@amd.com> References: <20181211103449.25899-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)(346002)(396003)(39860400002)(376002)(136003)(2980300002)(428003)(199004)(189003)(14444005)(8936002)(104016004)(105586002)(446003)(11346002)(106466001)(305945005)(316002)(126002)(2616005)(486006)(476003)(72206003)(426003)(2201001)(47776003)(478600001)(186003)(68736007)(86362001)(336012)(16586007)(97736004)(1076002)(110136005)(50226002)(450100002)(77096007)(26005)(48376002)(53936002)(76176011)(50466002)(2906002)(5660300001)(356004)(6666004)(53416004)(36756003)(81166006)(8676002)(81156014)(4326008)(7696005)(51416003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM3PR12MB0842; H:SATLEXCHOV01.amd.com; FPR:; SPF:None; LANG:en; PTR:InfoDomainNonexistent; A:1; MX:1; X-Microsoft-Exchange-Diagnostics: 1; BY2NAM03FT064; 1:ozkBuDC6GDuEnA38kQLpjvPYI77U1q4W4Jge6d5yDi9Mk+5dRNXvHyRFmDyYKaW9L100IBrPdzVbuLQ74uXFsoCblDAHnyYQHjiippAlTdqVpT977sLGy6QkHXoeYu1K X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9aab105d-0403-4b01-ab58-08d65f54733a X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060); SRVR:DM3PR12MB0842; X-Microsoft-Exchange-Diagnostics: 1; DM3PR12MB0842; 3:UCnH6emplOT1QeEPjeAhZDzKBsaMtMdaAa9HrAYRGYIF1kdZftTk9gYOF4Tk/7HGeehEH8Cp4c2MAgtSB4uG5sce2sI70eauSEzG1wDzdUgo5SddXpoKAPEDAKWkiKMhIhKWsPH0J6M28ictQDdlAaoATNlcy5cuxPvnW0OSXjS8npmKIu9fs7WFsNkcKcf5vHKeCm1gAw66YKr2zCFrZEoxSOtkKuBZ2xEAflSsTebRNYsnkRrlcqHlfaZjXdAFgj1eUNOifY+lUtAjQnaJq3SKFX5zLbnrj3YZ3r/SmEFSGFmENVnhQKghyk4b4hB4YFDovOaVrUZ0su5fGQ4oGC1ASIWnYjBH2Q9URT2r4KI=; 25:YVsIUkrvLHZczJkKULwsFouAzUX800owNPp0UWE8lUf+TI3UcJt2+1XixFLcg0ujmBPXwh2sB0JHCxgQjN2mlLBfIm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Xi3V9Q9hn9HtwGGzIirmD X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(3230017)(999002)(6040522)(2401047)(8121501046)(5005006)(3231472)(944501520)(52105112)(3002001)(10201501046)(93006095)(93003095)(6055026)(148016)(149066)(150057)(6041310)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(201708071742011)(7699051)(76991095); SRVR:DM3PR12MB0842; BCL:0; PCL:0; RULEID:; SRVR:DM3PR12MB0842; X-Microsoft-Exchange-Diagnostics: 1; DM3PR12MB0842; 4:wenOsY8vWINPLOITQ6pXYkxH9cLprpGbAcr3L+WQrdUqGtaC7Bvvj/3dNqZBx4n+enRl/8cE7ncVOnozjWUAKwZIO5l2/LTWL33BS6+pw2a1O557RYiusQDzQwKV2iNMX4oBe9McXLek5aumP4GMFXAoI8UpiGRPgyvnC9gtxjUL+wGLc0XZhYWwI3zeJfTY7jGlYt+SvV7oalZj7ZIHb8kVjuiq6LpsF/tgcrAAyRvXTOGvoizoaxsvoTMO9fUUJnxB67nFnFUPJv0QovbKfg== X-Forefront-PRVS: 08831F51DC X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM3PR12MB0842; 23:mTkXzC0qBXQ85rvmw9Lrxc+J3gn99kxiDtC5ngNpV?= f1kxUjoQW/2hGOEdyJ22mYdlG26Y+Xy1O2Vs+/yasTlmLUTQ2U34CLF7ZEO4wI+KttVuLdUrOuMh5MvMQMIz4cfg57mmSBcGzwNQ1fZ7RrSuNaoB7fHcpQxQnylhjn/YDrmiM9BFJO1pRpQVQCn45zydN1xcUuky4knHb6JKQ+TwmR0mu1Y+Z9mmVl7m6vRz8cOEG0ejhDOg4Pm1vgBCzey7v9MGSqNb1IctKumhVwqbdY71ah11tiEMa5trV4u9N6Wp53/tYZbGYCl9Wldvkjm75gaypDUuzr2l/ukkW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cqkLsLZt+iTAK8ciYo9jvLQid/JiS64cDwiBVEOusF1YRUW7kBEBMYoNwf60SJxjQNNzar+/Evt0U52CQ5StzU24hBiLiLXSNnhnRcj6dAQWmoMFtOhPd1EtSsitebmP1ldCtYi1YX3FgG X-Microsoft-Exchange-Diagnostics: 1; DM3PR12MB0842; 6:EdhxtLFFgNV76AlGbLxod6KN20/PREOEJ+micK+i1UsD2Mmqq6hSXl3ijvzSIk6VOhmyGxxwApRZ0BXOCa4MOw0wnG8fDkvgqLSYJ9/Y68irEemQbDHycc/6/CDvuyTHi5pprtPCN8IdZy76GiVqQXcRQDERuoBRkRQmS4r9rly5nqryZI6rr7Kf+IGT+GX1FbLtgE+Xq/ad29QfTGapmO2somFMpjUaKZyzgu0J26HCzUgj1Gt0J84UZhGlmXPpXeMcWPAsuUIbjncmdoBPWFcSa7UvMarxhHKl/PMZdLDVovqgyglbZnRiaG0nUIVsn0In5gHNU4kD75KmVMsxJwfup1L04u0dkYxmi3Wr2r8vaON6rrLj0j+Zs3m0DzjXAKz8jtLFoBQ7iyc2gls7HqKtKijJ3cQHxgp18/EwM6Hmo67olxS+720WsaHpawCKR7ye5+3QOIdymghDml1gWV7SnO2nVqDR6EvKRW7EY9w=; 5:cSNXomFB1fRRAqzVIrqjVIbzKrO4vRpxTAi4V+BZNgbSkDK/VGFTCeheVpkPda0v8louGqXLXArYRRVh9O0iB6rpHF3uYFFTccGxtDOx40Qw8aSRb6snlOhERJ+ZQc5uVAS6MGhhu7UqJEulUvDIqT4ZAkrXBKuZO0OlRGiG+lw=; 7:Tx/+FvbX0AdIKPBlFBlQS+DfARL9QnEQXECw5wfH6/Dyd6PCnDyNCPPAYPM0kUKnCQlh4Hmoualz5Xiyt8xcggdMDBRJrLONu4KNUDOVlAfOQyC2bQNhsXSmmCNKklyWSVkOEESwTMVqEMWxA5ok7w== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM3PR12MB0842; 20:Cgz0hN2U3W7cOYdJU7w1xXt5AbQnuYHXHq5/glblTak/ydtzVFIkJQwRoA2hUCSJfSH+LD7ofpNSveu+Yg+7T/E6CGB47oBICgKULEKw80tuWkasT6d3AKdyEBH81xS6tY5IVzQS0HdedqUQFANSLuTZacPuu7XmGW00snWqBrtFHZ7C1wR1JtwWRRmvy+t7GsIiWgTihePE/fkEpfisIRN+r7tDs8ZKYJntV2fFVhBR6W6JAXu+rc0YspAASx5v X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2018 10:36:03.0401 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9aab105d-0403-4b01-ab58-08d65f54733a 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: DM3PR12MB0842 Subject: [Intel-gfx] [PATCH 09/10] drm/syncobj: add timeline signal ioctl for syncobj v2 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chunming Zhou Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP v2: individually allocate chain array, since chain node is free independently. Signed-off-by: Chunming Zhou --- drivers/gpu/drm/drm_internal.h | 2 + drivers/gpu/drm/drm_ioctl.c | 2 + drivers/gpu/drm/drm_syncobj.c | 81 ++++++++++++++++++++++++++++++++++ include/uapi/drm/drm.h | 1 + 4 files changed, 86 insertions(+) diff --git a/drivers/gpu/drm/drm_internal.h b/drivers/gpu/drm/drm_internal.h index 06c2adc4950e..d7a19bd89cb2 100644 --- a/drivers/gpu/drm/drm_internal.h +++ b/drivers/gpu/drm/drm_internal.h @@ -186,6 +186,8 @@ int drm_syncobj_reset_ioctl(struct drm_device *dev, void *data, struct drm_file *file_private); int drm_syncobj_signal_ioctl(struct drm_device *dev, void *data, struct drm_file *file_private); +int drm_syncobj_timeline_signal_ioctl(struct drm_device *dev, void *data, + struct drm_file *file_private); int drm_syncobj_query_ioctl(struct drm_device *dev, void *data, struct drm_file *file_private); diff --git a/drivers/gpu/drm/drm_ioctl.c b/drivers/gpu/drm/drm_ioctl.c index e9d4bed12783..a50dc62dc87b 100644 --- a/drivers/gpu/drm/drm_ioctl.c +++ b/drivers/gpu/drm/drm_ioctl.c @@ -683,6 +683,8 @@ static const struct drm_ioctl_desc drm_ioctls[] = { DRM_UNLOCKED|DRM_RENDER_ALLOW), DRM_IOCTL_DEF(DRM_IOCTL_SYNCOBJ_SIGNAL, drm_syncobj_signal_ioctl, DRM_UNLOCKED|DRM_RENDER_ALLOW), + DRM_IOCTL_DEF(DRM_IOCTL_SYNCOBJ_TIMELINE_SIGNAL, drm_syncobj_timeline_signal_ioctl, + DRM_UNLOCKED|DRM_RENDER_ALLOW), DRM_IOCTL_DEF(DRM_IOCTL_SYNCOBJ_QUERY, drm_syncobj_query_ioctl, DRM_UNLOCKED|DRM_RENDER_ALLOW), DRM_IOCTL_DEF(DRM_IOCTL_CRTC_GET_SEQUENCE, drm_crtc_get_sequence_ioctl, DRM_UNLOCKED), diff --git a/drivers/gpu/drm/drm_syncobj.c b/drivers/gpu/drm/drm_syncobj.c index 3bba86c8160d..961f6d343564 100644 --- a/drivers/gpu/drm/drm_syncobj.c +++ b/drivers/gpu/drm/drm_syncobj.c @@ -1173,6 +1173,87 @@ drm_syncobj_signal_ioctl(struct drm_device *dev, void *data, return ret; } +int +drm_syncobj_timeline_signal_ioctl(struct drm_device *dev, void *data, + struct drm_file *file_private) +{ + struct drm_syncobj_timeline_array *args = data; + struct drm_syncobj **syncobjs; + struct dma_fence_chain **chains; + uint64_t *points; + uint32_t i, j, timeline_count = 0; + int ret; + + if (!drm_core_check_feature(dev, DRIVER_SYNCOBJ)) + return -EOPNOTSUPP; + + if (args->pad != 0) + return -EINVAL; + + if (args->count_handles == 0) + return -EINVAL; + + ret = drm_syncobj_array_find(file_private, + u64_to_user_ptr(args->handles), + args->count_handles, + &syncobjs); + if (ret < 0) + return ret; + + points = kmalloc_array(args->count_handles, sizeof(*points), + GFP_KERNEL); + if (!points) { + ret = -ENOMEM; + goto out; + } + if (!u64_to_user_ptr(args->points)) { + memset(points, 0, args->count_handles * sizeof(uint64_t)); + } else if (copy_from_user(points, u64_to_user_ptr(args->points), + sizeof(uint64_t) * args->count_handles)) { + ret = -EFAULT; + goto err_points; + } + + + for (i = 0; i < args->count_handles; i++) { + if (points[i]) + timeline_count++; + } + chains = kmalloc_array(timeline_count, sizeof(void *), GFP_KERNEL); + if (!chains) { + ret = -ENOMEM; + goto err_points; + } + for (i = 0; i < timeline_count; i++) { + chains[i] = kzalloc(sizeof(struct dma_fence_chain), GFP_KERNEL); + if (!chains[i]) { + for (j = 0; j < i; j++) + kfree(chains[j]); + ret = -ENOMEM; + goto err_chains; + } + } + + for (i = 0, j = 0; i < args->count_handles; i++) { + if (points[i]) { + struct dma_fence *fence = dma_fence_get_stub(); + + drm_syncobj_add_point(syncobjs[i], chains[j++], + fence, points[i]); + dma_fence_put(fence); + } else + drm_syncobj_assign_null_handle(syncobjs[i]); + } +err_chains: + kfree(chains); +err_points: + kfree(points); +out: + drm_syncobj_array_free(syncobjs, args->count_handles); + + return ret; +} + int drm_syncobj_query_ioctl(struct drm_device *dev, void *data, struct drm_file *file_private) { diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index 4c1e2e6579fa..fe00b74268eb 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h @@ -943,6 +943,7 @@ extern "C" { #define DRM_IOCTL_SYNCOBJ_TIMELINE_WAIT DRM_IOWR(0xCA, struct drm_syncobj_timeline_wait) #define DRM_IOCTL_SYNCOBJ_QUERY DRM_IOWR(0xCB, struct drm_syncobj_timeline_array) #define DRM_IOCTL_SYNCOBJ_TRANSFER DRM_IOWR(0xCC, struct drm_syncobj_transfer) +#define DRM_IOCTL_SYNCOBJ_TIMELINE_SIGNAL DRM_IOWR(0xCD, struct drm_syncobj_timeline_array) /** * Device specific ioctls should only be in their respective headers