Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CD7EBC433F5 for ; Mon, 24 Jan 2022 13:03:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 119FB10E430; Mon, 24 Jan 2022 13:03:34 +0000 (UTC) Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by gabe.freedesktop.org (Postfix) with ESMTPS id D155D10E430; Mon, 24 Jan 2022 13:03:32 +0000 (UTC) Received: by mail-wr1-x436.google.com with SMTP id r14so13456758wrp.2; Mon, 24 Jan 2022 05:03:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=yWI5UY1fcglV1EAWhaeDJljaKs8PQI4isWYaACSxoi4=; b=AY8x1LnFnJZRez598YgjMdvAyQROXLUy/z6GUO0oWBfUy4+onnlsYauTO0OaoQp+GL OmIkmpHQWU7wayN2WlbzQUPXIV47l69i9fA/DRiDGWjKntmUx7bPx75DutO0bmH5olCg 7du8vXgO4/RPJgr5x4s0oiKIcmnDljWfStE7sPCxUQUuam2WB0tOm+kSY+NrdbaM4TlO kDFGprJHWgxOGORrRLgJGzHFUEsv2fb0iqDg/alh+6PE5mfr0N/Lb9xhVp1Z8eZmIyEb m4hC3WSoXNBjbQ/sPH5sFeO4FiLEnL0vKqQSRWT6BDKtRuxH1I7JAFpc/ihdmyCaMQHU Y5Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=yWI5UY1fcglV1EAWhaeDJljaKs8PQI4isWYaACSxoi4=; b=OdY+qpyKLuZwTnizqTPcAX4qo+o8KAMzuoQzJl2XLV7+YMGndPgS9et4f1JCMtjA/D nMIX8FRFk70TtDB5fQSJgMU1KECCuFFEhXCs4j6rIPJo/2kRd+T/y+ZzkdvR6uK+abnR fgDHBUPbKcK7Y2RxIbZH5Oi1qedaURhv9+yEIkQNYgM/M/tsxsa1jMnDTYD7IpzRaX3E Ynr4oe8eTzeUlMdzVrOcSEmMwdxbPkIPEJQpLWJC4t3898DuzKk2nEeTxDDgePLVDVXY HHoyYIr4KipNeWhRIidFjJykGHvHflpvIPuUS4QARoFv2ifTBtc1Cwo09lbgSWeSQNvt oWGg== X-Gm-Message-State: AOAM530f4ydG1eqZeb18hAbAfoKYacayaydLRey6D8nZMd23GJ5bSmUA 6asXyGJACEnuctkuyWC8Od8= X-Google-Smtp-Source: ABdhPJzL+lKK5xkx8OJp5KwHUz8NOmvOUiedYXCIu6JiUO9YErSES2Olp5JeIlKltfni2gdAQOYY8Q== X-Received: by 2002:a05:6000:1448:: with SMTP id v8mr4887006wrx.57.1643029411400; Mon, 24 Jan 2022 05:03:31 -0800 (PST) Received: from abel.fritz.box (p57b0bff8.dip0.t-ipconnect.de. [87.176.191.248]) by smtp.gmail.com with ESMTPSA id g4sm16543554wrd.12.2022.01.24.05.03.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jan 2022 05:03:30 -0800 (PST) From: "=?UTF-8?q?Christian=20K=C3=B6nig?=" X-Google-Original-From: =?UTF-8?q?Christian=20K=C3=B6nig?= To: thomas.hellstrom@linux.intel.com, sumit.semwal@linaro.org, gustavo@padovan.org, daniel.vetter@ffwll.ch, zackr@vmware.com, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Subject: Add WARN_ON nested dma_fence containers Date: Mon, 24 Jan 2022 14:03:17 +0100 Message-Id: <20220124130328.2376-1-christian.koenig@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi guys, as previously discussed only dma_fence_chain with its previous fence is actually made to build up larger dma_fence structures. Everything else should either flatten all fences into a single dma_fence_array or just add each fence separately to the dma_resv object. Please review and/or comment, Christian.