From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2481C433EF for ; Thu, 9 Sep 2021 16:42:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A827961100 for ; Thu, 9 Sep 2021 16:42:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239082AbhIIQn3 (ORCPT ); Thu, 9 Sep 2021 12:43:29 -0400 Received: from mail-0301.mail-europe.com ([188.165.51.139]:38987 "EHLO mail-0301.mail-europe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238504AbhIIQnY (ORCPT ); Thu, 9 Sep 2021 12:43:24 -0400 Date: Thu, 09 Sep 2021 16:42:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail; t=1631205730; bh=CRhRrcUbVIk/J340UbBHAnIQ+ohX2n1/c8QCeVn2Jpo=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=y7yBqNtkhgsRmIfQ4GPpRJvlsGGmxCbL9NUJ/m538lQMlZMvYSQ2UAxRJkZ1CMNg5 6Iv3yvDrCMOeOwxYbbRVvn+/X/+zaHrT9dGoLGonuL/WPiFACJE0voRMT+1AkymQaf xpMkgU49orWB5Ct8we5uSjumO9OVNfB1cftFq9FyfmngXj1PPLacl2K9kbTJmbEl4j aKAH+OyZIMBgh1wodGYRej1Mj3bebYZh8blbXxAt8VosQXyk9oxFR2Ly+lqY9xaKtu 5zFUSyYhMpr2A/t850v6DwTCFLOsflPVrr0IubhqCObbRVJsygo5uWr5+rZ3P5VgHm EoGGfdSu+tOXg== To: Rob Clark From: Simon Ser Cc: dri-devel , "moderated list:DMA BUFFER SHARING FRAMEWORK" , Daniel Vetter , =?utf-8?Q?Christian_K=C3=B6nig?= , =?utf-8?Q?Michel_D=C3=A4nzer?= , Pekka Paalanen , Rob Clark , Alex Deucher , Andrey Grodzovsky , Boris Brezillon , =?utf-8?Q?Christian_K=C3=B6nig?= , Daniel Vetter , freedreno , Gustavo Padovan , linux-arm-msm , Linux Kernel Mailing List , "open list:DMA BUFFER SHARING FRAMEWORK" , Luben Tuikov , Melissa Wen , Steven Price , Tian Tao Reply-To: Simon Ser Subject: Re: [PATCH v3 0/9] dma-fence: Deadline awareness Message-ID: In-Reply-To: References: <20210903184806.1680887-1-robdclark@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Thursday, September 9th, 2021 at 18:31, Rob Clark = wrote: > Yes, I think it would.. and "dma-buf/sync_file: Add SET_DEADLINE > ioctl" adds such an ioctl.. just for the benefit of igt tests at this > point, but the thought was it would be also used by compositors that > are doing such frame scheduling. Ofc danvet is a bit grumpy that > there isn't a more real (than igt) userspace for the ioctl yet ;-) Ah, very nice, I somehow missed it. I guess one issue is that explicit sync isn't quite plumbed through compositors yet, so without Jason's DMA-BUF to sync_file IOCTL it'd be a bit difficult to use. Can anybody set the deadline? I wonder if clients should be allowed to. What happens if the deadline is exceeded? I'd assume nothing in particular, the deadline being just a hint?