From patchwork Thu Jan 9 13:37:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Stanner X-Patchwork-Id: 13932557 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 B62A5E77197 for ; Thu, 9 Jan 2025 13:37:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3D34310EDD6; Thu, 9 Jan 2025 13:37:41 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Rox712/S"; dkim-atps=neutral Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by gabe.freedesktop.org (Postfix) with ESMTPS id 007C310EDD7 for ; Thu, 9 Jan 2025 13:37:39 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 94BE7A41BF9; Thu, 9 Jan 2025 13:35:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0375AC4CED2; Thu, 9 Jan 2025 13:37:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736429858; bh=HGkCW/M1y6D9k2/Wp6dPN6QlebActNNsrqeAzQJEoY0=; h=From:To:Cc:Subject:Date:From; b=Rox712/SokhN6VA7aVSyHvdQ75vCF/A8BQJffVATtxL6K2MUXcIqAS48SgqxyvG0W r0nr/cm5bb1UKHyJmaDOzHI8S0aFqNIYeZCFSphkBXQLTwjLX+HGM3bhh2vxEcWSrI Mv01lEPbncZJV4RzYWB508zgbgxrAv7szAi//JdK4FtqWcPn2YGVDno1KXP5rr2h09 W/brOX8F+Kkih/dfUWJFSUYCZ00CqTTj2RbGKjpVfyGXil2WfN6q5rFTXJa9Bl1ZYx cuovlWDxyKPNA0cBGgM0RICj+ElSKUo5cK+nvtbN82f4k4CssRITYvZc2LABhlnTvQ Pk1PNyVniSHkg== From: Philipp Stanner To: Luben Tuikov , Matthew Brost , Danilo Krummrich , Philipp Stanner , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Sumit Semwal , =?utf-8?q?Christian_K=C3=B6nig?= Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, Philipp Stanner Subject: [PATCH 0/3] drm/sched: Documentation and refcount improvements Date: Thu, 9 Jan 2025 14:37:08 +0100 Message-ID: <20250109133710.39404-2-phasta@kernel.org> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 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" This is as series succeeding my previous patch [1]. I recognized that we are still referring to a non-existing function and a deprecated one in the callback docu. We should probably also point out the important distinction between hardware and firmware schedulers more cleanly. Please give me feedback, especially on the RFC comments in patch3. (This series still fires docu-build-warnings. I want to gather feedback on the opion questions first and will solve them in v2.) Thank you, Philipp [1] https://lore.kernel.org/all/20241220124515.93169-2-phasta@kernel.org/ Philipp Stanner (3): drm/sched: Document run_job() refcount hazard drm/sched: Adjust outdated docu for run_job() drm/sched: Update timedout_job()'s documentation drivers/gpu/drm/scheduler/sched_main.c | 10 ++- include/drm/gpu_scheduler.h | 105 ++++++++++++++++--------- 2 files changed, 77 insertions(+), 38 deletions(-)