Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5998398pxv; Thu, 29 Jul 2021 04:01:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPhbnvtCurn6N01NeEAFmFA/VffVwQR1jf95Y7o64ddNzG+WnUVgrCC7cqdzssdxSBYSQN X-Received: by 2002:a5d:938a:: with SMTP id c10mr3598456iol.0.1627556517501; Thu, 29 Jul 2021 04:01:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627556517; cv=none; d=google.com; s=arc-20160816; b=T3+dSzkEP9w7WQyZZX0VD0cgs4TT6slrRJRtYLIf7nVUybvDuPDo0VhlxEhvAVL3+s MxN2HApvMJ+qFT+sATt5OFfuqaI30R9TThdo7M80TDUzicANbrW1FIRjFhmXNba/iwsJ PXidAgusEy67r1UFefnN1hgq2fHhxVtlHwJRYmZFu2gvQ5Ik2pZy9NP9tHAHqG23FB03 H1Q9wE692iQ6o2B3XqtdokovzHXo845z6iix9a0fQwYxcnOGwACngdZjJXp+xAUETSMH hoJIYMfd3wKdIHc5acUbfiLDKhCsVbG43lxEzWhEldGJlwxZ3TWp+KPqiBcte3OczTD5 vGXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=j6N7G5MRcha3Fj5Bk0os/bPVbYvLiNuDMePdv4Mv6jU=; b=i10IqjCM1BN34KflF1+0Pbf17u8SiNeQDSY0YLXE/sLgrK34DAQFC3mVm6pQgd9l6+ UPELMcyDONiNnVlgMoqzshwus9zBOFjeIt935Ht8ASvnoL69hv1HOWHnf40Pi+wy6BX6 jggjK+4HuS2AdnnIVtMQV1nQgpHFhYzyad55GxWW/cH+YZ+tdSEEoET5ZkeBPbPZw9Nm bkGyF4H5GotOBaOkqlMlQLLioOaR1j/7h/F/ioxn0BqzPV8l36wUUTG9illUkR4ZZOxx oWVXGR9Qvi/rmIl+upHauhipcU8fie7BIFhAzUr/tcuhHkbWd2nay3yLrB66DT8S1/zP +bLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KPirDI5m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i18si3052394ioh.49.2021.07.29.04.01.45; Thu, 29 Jul 2021 04:01:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KPirDI5m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236087AbhG2LAm (ORCPT + 99 others); Thu, 29 Jul 2021 07:00:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234156AbhG2LAl (ORCPT ); Thu, 29 Jul 2021 07:00:41 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15310C061765; Thu, 29 Jul 2021 04:00:37 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id e5so7011821ljp.6; Thu, 29 Jul 2021 04:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version; bh=j6N7G5MRcha3Fj5Bk0os/bPVbYvLiNuDMePdv4Mv6jU=; b=KPirDI5m+4uNpkEbctbgBuyocz43s1tPSGc30ZLUQUsZo38yKPJv50JidR3cfAiaKX C972dvCYaH368cOsfkpMw4M6i9Ife8L2kO2kNsQyBKoj0hWjJnDXHyERLN39A5l5Sc3g LZhTAu1k4ae2EpxrgLp7lwSSUJv82dQDof61EaCC7Oa7z9Ubq9sfPbj5b0S+Ta7BnXbr U4oDrWftF2/mB2VtuxLTEtFpmEonKKHahBi0oQH+2kVzNo1rdtRxa6SpiCq10g11SscG dBM5p2IXUFzw1TouMkLpaSk1avDbk5Z5Px4wZ7HQ+jVDIE87b+kMz0LTrQglj0XYrB4B pQjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version; bh=j6N7G5MRcha3Fj5Bk0os/bPVbYvLiNuDMePdv4Mv6jU=; b=iuX5kTva3gEYSRDApvJgrfXN+hAkOTCZRyktBs6vGQ93yg+4pwdbELRl4uX0premvp UWU/Z6oT8Z+R3liib4Hp+QGtyGgwvXrAEjPXx3+YknU2hLMXJhwgFCF4BNZmlaAggEyj p4hUFrJ/T9aijsIJKxO/wv2u0i3MkBKQVvg6eBhEvt0Jtsi8P+UBTifid6IxpNKT8c7Y hZTpTGkcwiuJH8Mb1I3/uWp0lWQ/AsAewRug93LD7YPVTt8EXvi1M7CQyOB8A0AZE109 sU+d8+Y02C3WdxRXm1KuJn+/QWiFuPxRJ3nsG7ovjQ77yNSvXgSxUliDjKAe567+KA6K h9rw== X-Gm-Message-State: AOAM532Es9W24wx/khTVOEKz7Xghb3WTYeFnwMN3I4eqP9X2zPgPdtY9 LCVuti2sjEozs9VBEaq8t18= X-Received: by 2002:a2e:9911:: with SMTP id v17mr2511244lji.392.1627556435355; Thu, 29 Jul 2021 04:00:35 -0700 (PDT) Received: from eldfell ([194.136.85.206]) by smtp.gmail.com with ESMTPSA id c6sm269954lfp.196.2021.07.29.04.00.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jul 2021 04:00:34 -0700 (PDT) Date: Thu, 29 Jul 2021 14:00:24 +0300 From: Pekka Paalanen To: Christian =?UTF-8?B?S8O2bmln?= Cc: Christian =?UTF-8?B?S8O2bmln?= , Michel =?UTF-8?B?RMOkbnplcg==?= , Rob Clark , Matthew Brost , Jack Zhang , Gustavo Padovan , open list , dri-devel , "moderated list:DMA BUFFER SHARING FRAMEWORK" , Luben Tuikov , Roy Sun , Alex Deucher , Tian Tao , Lee Jones , "open list:DMA BUFFER SHARING FRAMEWORK" Subject: Re: [RFC 0/4] dma-fence: Deadline awareness Message-ID: <20210729140024.6a635be4@eldfell> In-Reply-To: <15cf73a8-eda4-3559-561a-a05a14f445d0@gmail.com> References: <20210726233854.2453899-1-robdclark@gmail.com> <28ca4167-4a65-0ccc-36be-5fb017f6f49d@daenzer.net> <99984703-c3ca-6aae-5888-5997d7046112@daenzer.net> <04d44873-d8e6-6ae7-f0f9-17bcb484d697@amd.com> <9d5f4415-d470-3bc1-7d52-61ba739706ae@daenzer.net> <20210728165700.38c39cf8@eldfell> <74e310fa-e544-889f-2389-5abe06f80eb8@amd.com> <20210729112358.237651ff@eldfell> <3675d530-c9fc-7ec9-e157-b6abeeec7c2a@amd.com> <20210729121542.27d9b1cc@eldfell> <15cf73a8-eda4-3559-561a-a05a14f445d0@gmail.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/SgW_5szpi5zzf=zDE.O9N/Y"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/SgW_5szpi5zzf=zDE.O9N/Y Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 29 Jul 2021 12:14:18 +0200 Christian K=C3=B6nig wrote: > Am 29.07.21 um 11:15 schrieb Pekka Paalanen: > > > > If the app happens to be frozen (e.g. some weird bug in fence handling > > to make it never ready, or maybe it's just bugged itself and never > > drawing again), then the app is frozen, and all the rest of the desktop > > continues running normally without a glitch. =20 >=20 > But that is in contradict to what you told me before. >=20 > See when the window should move but fails to draw it's new content what=20 > happens? >=20 > Are the other windows which would be affected by the move not drawn as we= ll? No, all the other windows will continue behaving normally just like they always did. It's just that one frozen window there that won't update; it won't resize, so there is no reason to move that other window either. Everything continues as if the frozen window never even sent anything to the compositor after its last good update. We have a principle in Wayland: the compositor cannot afford to wait for clients, the desktop as a whole must remain responsive. So there is always a backup plan even for cases where the compositor expects the client to change something. For resizes, in a floating-window manager it's easy: just let things continue as they are; in a tiling window manager they may have a timeout after which... whatever is appropriate. Another example: If a compositor decides to make a window maximized, it tells the client the new size and state it must have. Until the client acks that specific state change, the compositor will continue managing that window as if nothing changed. Given the asynchronous nature of Wayland, the client might even continue submitting updates non-maximized for a while, and that will go through as if the compositor didn't ask for maximized. But at some point the client acks the window state change, and from that point on if it doesn't behave like maximized state requires, it will get a protocol error and be disconnected. Thanks, pq --Sig_/SgW_5szpi5zzf=zDE.O9N/Y Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJQjwWQChkWOYOIONI1/ltBGqqqcFAmECikgACgkQI1/ltBGq qqdSag/8C5fOmZEzDR5htlo5q1ltdK6TzHREtqM2DS7vnN1oSHAyVpBFk3K3r1dL cYihzRRzkSzKaG2sNTUBoT2LXR9Xu+nrEU5UbRaEPepPXpBgzDMXVb/KZR1XlsNU XigotpFNhwJ9vAyT6WV0FDa/gLP9hlPDPztcrYafxJCcy/MyJByUEz/RtLWOppV3 BWFjB3SHKwolqP0+R8HwtWeaf5CpUkcrMqfXZBoUO8FNrPnjobsBuwlxOlP+Eihi 8TkwRGcauMDGBQXSBpdIldWcNtf4VLsVNtuFpyRfb9lGMCh2LvKfjCD858sltLaB g72XS3b9GAXJrXhKxRuURCIfnrvYWXkx+WbBpHP12JuqHLrEK+YFRSHUdIox9K5P 1PE2BhAeybsV9od8RDBDYCwM4eRsKp7Z6DESU/xVH0kGiFWp3r+naa/ahMTNe2p4 5The58A5VQSHuW+MlUxkYfepuX3C707/Y1EB8yBU+V/y4AZPDDGCngB9RemDIeAl HPBOGfQIfmihVHBPFBfaX2T04BLXKUekjCiwMMKv0DC4+gvzajggVnkXbNntLniC 92qfMWCIAPQS4yu2+9y+ziz8t6DUwVS9fVz7IFWqa/bjrL/btMPHjcj4Fa2cHM6S ox8gBlsF+XnBxYYbXXgbM8cMA+DPSKVxdeAeByLKegvT/9VyIJA= =HvfU -----END PGP SIGNATURE----- --Sig_/SgW_5szpi5zzf=zDE.O9N/Y--