Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2466500rdg; Mon, 14 Aug 2023 03:38:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG1bX4qc8FKkATeO7yR5jUiGN/KV5hz2uYZjauUIsjNiwvveXymxqdzAPQwUx4H1EjAhjec X-Received: by 2002:a17:90a:248:b0:268:b7a2:62e8 with SMTP id t8-20020a17090a024800b00268b7a262e8mr7682581pje.7.1692009520592; Mon, 14 Aug 2023 03:38:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692009520; cv=none; d=google.com; s=arc-20160816; b=EvhimM2PVz1pGkQ6OdYk+fyAAKLLmoZU/l1T4QblWsDt87COiRTq4jF1ky+8XUIolk 5klwBUeWvpA07qBg2dsxb25hBGgWs8uK2FhMi8HQzW3SSxbilCjE92eBw3yYEYJs5isy cQj2xmGniycWOYR7BIhZnKL/vlZ7U5kr0YeEkqOBzVrq14whL3pf85a8iIgoyq1BB+ah i2AQSLVnTCy7cUHETAGQQTNCYnUFFtraw6lIxI2LpBKx7P3PP/jMulD0rpdYY0rWl8UI XKo7cCIWdjoM9fEmCJJmz+6yn40Ll2tPNPiMyVXyx3cT/wC8aCK9RJ0w0tfBROUtJI3v i01A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:mime-version:date :message-id:dkim-signature; bh=eRmekkgzYD+ywS0c9zPB8cc4nrdPTbQZm63uTZVZSHY=; fh=rriwvLliOzqYNLFPW6MqLZJT8WHuknpfIZMifIuMmsE=; b=F8FIL3lpdtNoI/8vPmINyJzXfLp/YEs+GK0zeW3RVCiuo2v1/Uzh/0JDgQFfDh9nos w+byAvS8zGjiRfxkRXGd1GZaZF52rshdmnxf47g7J9/2Zu89z5aDDWCY2GQNYWl0Svjf pbH3bCM+KcLrao+rbq1UnbAUcjI9fwyXfM/giFSFynHFyxJ3JUVcwG2DtW6fJ239SZRv I5rrM8JWo0Jltfs3FXgqhv5XR0L3PeI/7fVFOUtRwKPpGxCAILVqkddx6rz8mnrXhLVc I8TNuXManimLJVoTr/LqKgXIWYoK60SqcUEbmXeseuOMj5tHhVliCTMBbG/Q88zY0as+ 4c1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b="f/y5bHDQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=mailbox.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k8-20020a633d08000000b005659b757791si3249714pga.384.2023.08.14.03.38.28; Mon, 14 Aug 2023 03:38:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b="f/y5bHDQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=mailbox.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236196AbjHNKMg (ORCPT + 99 others); Mon, 14 Aug 2023 06:12:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236764AbjHNKMW (ORCPT ); Mon, 14 Aug 2023 06:12:22 -0400 Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [IPv6:2001:67c:2050:0:465::201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DD53199F for ; Mon, 14 Aug 2023 03:12:00 -0700 (PDT) Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4RPVYW6kb9z9shD; Mon, 14 Aug 2023 12:11:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1692007903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eRmekkgzYD+ywS0c9zPB8cc4nrdPTbQZm63uTZVZSHY=; b=f/y5bHDQs/AO8BpFCZNWo7L/AsZywOE2HEm/AqCzLvcmVXHVMGdlco5KE914O1JLyjeYyF NoFl/bJ4tWra/C9n/n1aPlEtl0GH1dybmNgAsRR4TOxlab2robBUY+DPICkg5K/S7w9amB WcKYL78aLdy4nJTCmTQzykXyNwBPRYKH4MGHWOYVBhMGSca8ABOYIpyHMHv7jcrnYsZi5i pOQPpC1TfXqdEH2BnE/tIym4UtA3tE5yatUp2yrQ+RjSH27vMqm4C+XZMhzTzhbh9MwJBC 16CHfuyFFUgmWAJhwkdLnsPrRvRKeZX7M5P6l/wuP2yrrOD88Ginp/62eIy7qw== Message-ID: <8e560379-4bdc-a3f0-591a-435833bfacda@mailbox.org> Date: Mon, 14 Aug 2023 12:11:35 +0200 MIME-Version: 1.0 Subject: Re: [PATCH v6] drm/doc: Document DRM device reset expectations Content-Language: de-CH-frami, en-CA To: =?UTF-8?Q?Andr=c3=a9_Almeida?= , dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: pierre-eric.pelloux-prayer@amd.com, Randy Dunlap , =?UTF-8?B?J01hcmVrIE9sxaHDoWsn?= , =?UTF-8?Q?Timur_Krist=c3=b3f?= , Pekka Paalanen , Samuel Pitoiset , kernel-dev@igalia.com, alexander.deucher@amd.com, christian.koenig@amd.com References: <20230811185508.252194-1-andrealmeid@igalia.com> From: =?UTF-8?Q?Michel_D=c3=a4nzer?= In-Reply-To: <20230811185508.252194-1-andrealmeid@igalia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MBO-RS-META: qjyhhe5pbxmotxcc3nc413xfdj3mkqrm X-MBO-RS-ID: 1b65540c5e13e99182b X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/11/23 20:55, André Almeida wrote: > Create a section that specifies how to deal with DRM device resets for > kernel and userspace drivers. > > Signed-off-by: André Almeida [...] > +Robustness > +---------- > + > +The only way to try to keep an application working after a reset is if it > +complies with the robustness aspects of the graphical API that it is using. "The only way to try to keep a graphical API context working after a device reset [...]" If a graphical API context stops working properly, it doesn't necessarily mean that the application as a whole stops working. -- Earthling Michel Dänzer | https://redhat.com Libre software enthusiast | Mesa and Xwayland developer