From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f74.google.com (mail-wm1-f74.google.com [209.85.128.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D8E6C2FE071 for ; Mon, 2 Mar 2026 16:47:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772470071; cv=none; b=KY7PUmFABabLQAC7MnRhY1cGluSUUJ1tI+yPYOToeCmrzkmxufReXc4gfnwN9e7Az5syaWwoAg0ZdQWebiX2nAVqvYeLVN7gdXf9JtokZiOsZ4dtipKUK1eW2Eag0IzALl6CEJPD6Fa8hlDSktLDugeN4qmIsVceBS9B6KNDmCY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772470071; c=relaxed/simple; bh=DoVwBkJHjRR4WVrijUu0v6PjXF8skgMegaPq29y5Btw=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=tFtCHgOAVf39zFyekohJXeEQEQq8y6R3iQgv7MfOqwHqvtEYOikWKUyhMB1PtcKWf9Bxi53BupL5Vg1HZ5oS05PpzEGhC5mg3pFOLjQAfbLRzNeeQNuFs+4RENAQ8nHx4dGxFSVQxLhIWzFAfMu4tH0pXffap6uMeU7lLWXGal8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=TiDB2uVW; arc=none smtp.client-ip=209.85.128.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="TiDB2uVW" Received: by mail-wm1-f74.google.com with SMTP id 5b1f17b1804b1-4832c4621c2so51444675e9.3 for ; Mon, 02 Mar 2026 08:47:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1772470068; x=1773074868; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=yaWqpVdlDV9VaHjIoyw0LdeLAZaCz/qIWYw9AXU/0oM=; b=TiDB2uVWnbDep92WYvsV59+RbOHtl30KJTjZ1OwHAX78uJX6YXuetYkXMNCAEJ/ilv VHBzCw91s4BvnGK2ZIxtosHImH33eD5jzjOwLbMFjw3clTlgGUtZI76nq97xVn64TBS3 hifrGhCy7OUoMjLHPbhBaElACXts5Q7uIdXQOK8gN98Jcb137/UJZ387hyKFmLB7s4of RX6el3NM5lZpl+1PEuLeiVk18qFiireu/5NTKsvEML5uWax9oF69a1dbqjN6Zusp5AM3 3gjTiXNT4TY2xL5nBiY1Y5LD1bDm6jfU3GKWEStM5oEZKuS8VPb8VAgQbd7RdXU4Lxal 7I9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772470068; x=1773074868; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yaWqpVdlDV9VaHjIoyw0LdeLAZaCz/qIWYw9AXU/0oM=; b=OBV7l6tad38LhFMwh79ffCX4++7iFpWqFlmDW43lVhlf1A0+f7HcljMu9rhmbEWt8j MThsG0Rezj0HCEFnwdSFKf6RcTiT4HdndPcwsrNmVZL0iGJs9etyKjkR5LIBidQ27d57 c1mwPRihEBSXXNyEyf0hx/y27ibfH5bli6kc3nTwCpKort7adUU5vhNrQhbRelZRUwn1 ehBFvqKAWvOtvIvxNOZMnowZezyCBaADUq6stbuhI3nIG0pJ+zEf6udcEgZ20xV59Vxk hiLuIFaO0hIUj7V9p2f+ieZu9Di7Dg1ZZdUQ7BKb27APishP8CC7gZbCscC6FIFbCQAZ H/Yg== X-Forwarded-Encrypted: i=1; AJvYcCVSEvpr/g7H7IhLcQ6Mt4XpJujBtmPn+mXvSw3ifs+qLa3WmFVI+ve/DuhUbHSEmkYvqKJyQqRB45WMib0=@vger.kernel.org X-Gm-Message-State: AOJu0YxJGvdjaAhbk4KHK6ubNcA/x6D+1dhqjjj7/WalxyaqsRmEvOLc GV0jq1jpp/1AGQYP3bxE+pRylAN1Hr76alrRpXNM0fa8xNNu3N+9y1JHizabwu28aG9AfQ9HUam 5UEGiST6gA+x+PstTIQ== X-Received: from wrra18.prod.google.com ([2002:adf:fb92:0:b0:439:b77a:b852]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:1f83:b0:483:8062:b43 with SMTP id 5b1f17b1804b1-483c9c031e6mr262504225e9.19.1772470068114; Mon, 02 Mar 2026 08:47:48 -0800 (PST) Date: Mon, 2 Mar 2026 16:47:47 +0000 In-Reply-To: <20260204-aref-workitem-v2-0-bec25b012d2a@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260204-aref-workitem-v2-0-bec25b012d2a@collabora.com> Message-ID: Subject: Re: [PATCH v2 0/4] rust: Add ARef support for work items From: Alice Ryhl To: Daniel Almeida Cc: Miguel Ojeda , Boqun Feng , Gary Guo , "=?utf-8?B?QmrDtnJu?= Roy Baron" , Benno Lossin , Andreas Hindborg , Trevor Gross , Danilo Krummrich , David Airlie , Simona Vetter , Tejun Heo , Lai Jiangshan , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="utf-8" On Wed, Feb 04, 2026 at 05:40:38PM -0300, Daniel Almeida wrote: > This series adds ARef support for both regular and delayed work items. > > - Patches 1 and 3 actually implement the support in workqueue.rs > - Patches 2 and 4 adds a corresponding implementation in drm::Device that > dispatches the calls to the underlying T::Data. > > This was tested on Tyr, and is actually needed in order to obtain a > &drm::Device when handling work items. This is then needed in order to > allocate GEM objects inside the work handler that processes the tiler OOM > (out of memory) events. The current series sets the stage so that the above > is possible in the future. > > This is currently based on v6.19-rc8. I hope we can land all four commits > on a single tree, but otherwise let me know whether I should split the > workqueue.rs changes from the drm::Device ones and rebase accordingly. I noticed my Reviewed-by from v1 was dropped, so here it is again: Reviewed-by: Alice Ryhl