Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=213.97.179.56 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796306504; b=UXi1lLXdKTn++GKZ5m+iXJ/7TCq81W98GiDG+408tMNgahUNT1+KAiuD9AZjW8ntqUda L1ncctVWtiKzirHbO0CWIhXXZzCwN5bE/aoT7tsPVSOQxI5SraLtrai3KOFrsL7WyTRnG rmV+/r1y9KM/yyEpj9FypveG+P+PVrnOBMVBm2kz3oJiN0A4yfGhlMVfXJe2vZBWTEsk3 NJMCSwkPeGHVmfZ1QUJOHBE8abxi7KLfhj0LkF44KgmXdEZlLDmjLbaNx9F1m/Nxw3z6I Omn4AkBiFoI+6p1LEeBKPMehNe/z5hGK3CytJ/5D2Zr4nFzKAcvb9hIyJwdWZ/c4JuQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796306504; h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date: Message-ID:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=Dqlrkg5GB1eg6etP62xkeVqK8mInuzTVmzPO9tCJAQw=; b=wETGx3xRXsdOiJztk+ThPhlzY2LoeiNMjZ0bVGHg8YXSNVeFJ1xloDuYtn5p2tA29IQj ClRpx6MmnbCDPTTtH+M2phSwHm8hd+FKdhBA5/agLLVFafCM11oyAyRGywux+T5hc6x2j ADQvGOCQejF2FQYOUatYyqkCj5keSx8Cudnw24p8TpXO4XYQv7orEaTiMneG540lbMjkM M6iFPrtlRHdVW8DnEise/bUJIzwPkpn1AdARjgjCQjj627f8w7J8g1QGzWRXyDe84n/zu DA1Al8vUOdZP10MUWF7PZTXLVgN5GcWDpcJhN/HTOO0XLgpd7F4/DXp48t/RIvahLTA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=igalia.com; spf=pass smtp.mailfrom=igalia.com; dkim=pass header.d=igalia.com header.i=@igalia.com header.a=rsa-sha256 header.s=20170329 header.b=ZhZY64UU; arc=none smtp.remote-ip=213.97.179.56 Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E8FF7606A322 for ; Thu, 3 Dec 2026 14:01:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E8FF7606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=igalia.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=igalia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.a=rsa-sha256 header.s=20170329 header.b=ZhZY64UU DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:Subject:Cc:To:From:From:Reply-To; bh=Dqlrkg5GB1eg6etP62xkeVqK8mInuzTVmzPO9tCJAQw=; t=1796306503; x=2111666503; b=ZhZY64UU97vdhP2v2RSz0bkRzXjD/z4RnjHU+yCowpaN9MMNdhFysn65+q4Vw4HlYUeGnu03V3b TJH2NklcRWJ7rmIXLgnt6wGDMgmbdFLIltGP5xaBxluFS8mDR7DO9zVWQZmEmPQuuUm5VDHmTBQS9 ZuAuYurmh5tkgTPstJZ1u7geaBzrP+W8/23ODaiLZ7UMKl/0o6YW4MkzIsDS9HFtxeljumrtrB4cC 2Absg1JinF5oA9DxU64+Hv96liuVNxeZym2o+D0WysUsS/rik2TIBfECq2E7aNt3leAPYZvO/akHi x/+/D1/bBGtUNsamYxNeTsNr7k3MEv99VQCg==; Received: from [81.79.79.1] (helo=localhost) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) (envelope-from ) id 1xZ7NL-00000001fWY-47UL; Thu, 03 Dec 2026 15:01:32 +0100 From: Tvrtko Ursulin To: dri-devel@lists.freedesktop.org Cc: kernel-dev@igalia.com, Tvrtko Ursulin , =?UTF-8?q?Christian=20K=C3=B6nig?= , Danilo Krummrich , Matthew Brost , Philipp Stanner , =?UTF-8?q?Ma=C3=ADra=20Canal?= , Lucas Stach , Russell King , Christian Gmeiner , Rob Clark , linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, etnaviv@lists.freedesktop.org, amd-gfx@lists.freedesktop.org Subject: [PATCH v2 00/10] drm/sched: Entity handling cleanups Date: Thu, 3 Dec 2026 14:01:18 +0000 Message-ID: <20261203140128.6813-1-tvrtko.ursulin@igalia.com> X-Mailer: git-send-email 2.56.0 X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stricter rules around entity initialization, removing the single scheduler special case which fixes the priority override for amdgpu single IP instance entities and addressing of fence_seq FIXME by pulling the entity->lock up from drm_sched_entity_select_rq(). In the last round sashiko complained about the first patch breaking legacy v3d but Maíra has confirmed that is an unused path so no problem to make it stricter. Lets see what sashiko finds in this round. v2: * New patches in the series: * Fix amdgpu VCN potential usage of un-initialized schedulers. * Make entaviv and msm check drm_sched_entity_init return value. * Mark drm_sched_entity_init as __must_check. * Clamp priority levels against all schedulers in drm_sched_entity_init(). Cc: Christian König Cc: Danilo Krummrich Cc: Matthew Brost Cc: Philipp Stanner Cc: Maíra Canal Cc: Lucas Stach Cc: Russell King Cc: Christian Gmeiner Cc: Rob Clark Cc: Dmitry Baryshkov