From mboxrd@z Thu Jan 1 00:00:00 1970 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 A9307D2ED0F for ; Tue, 20 Jan 2026 11:13:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0C9F310E5B8; Tue, 20 Jan 2026 11:13:29 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="DIXJv2G3"; dkim-atps=neutral Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 737AA10E5BE for ; Tue, 20 Jan 2026 11:13:28 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 3402F43540; Tue, 20 Jan 2026 11:13:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75B0EC19421; Tue, 20 Jan 2026 11:13:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768907608; bh=kIXzeKf0e4CbSc5xLvJoptrjAYgLuZH0QYeII1ZTp0I=; h=Date:To:From:Subject:Cc:References:In-Reply-To:From; b=DIXJv2G3a7V8+oS0nvqYnQLoJ82aVbNFFWCSBMPvujnekxGSfJSmFXLY8IoBliZ0B Y2WxnSP2yrIx84iss3Hz/suhl4VLpfONAvZJYkY8xwu03yGK0M/4aHk+d54JLKBMup TKPzQUpsiSkyMapXAxH3NltRYPbVaKNz4RWf5LTwQP0/jdpPLd7udOr7bG8FNHplxf OWY3S8rkQNxC5tG+c2nDqwHsK/CPstCLk5g9H+H+2RVECBTpiKKlt9/2cFLs2iMfD8 ZH16F1iRlrq/qu84gPnhtmOF5hRHmnMfQVG7xgEH85/xfaam8EbHLG1HpOkPt/7ea+ ejvoj4O3YbYBg== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 20 Jan 2026 12:13:23 +0100 Message-Id: To: "Daniel Almeida" From: "Danilo Krummrich" Subject: Re: [PATCH 2/4] rust: drm: dispatch work items to the private data Cc: "Miguel Ojeda" , "Boqun Feng" , "Gary Guo" , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , "Benno Lossin" , "Andreas Hindborg" , "Alice Ryhl" , "Trevor Gross" , "David Airlie" , "Simona Vetter" , , , References: <20260115-aref-workitem-v1-0-9883e00f0509@collabora.com> <20260115-aref-workitem-v1-2-9883e00f0509@collabora.com> In-Reply-To: <20260115-aref-workitem-v1-2-9883e00f0509@collabora.com> 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" On Fri Jan 16, 2026 at 1:35 AM CET, Daniel Almeida wrote: > diff --git a/rust/kernel/drm/device.rs b/rust/kernel/drm/device.rs > index 3ce8f62a0056..c760a743e1df 100644 > --- a/rust/kernel/drm/device.rs > +++ b/rust/kernel/drm/device.rs > @@ -6,13 +6,13 @@ > =20 > use crate::{ > alloc::allocator::Kmalloc, > - bindings, device, drm, > - drm::driver::AllocImpl, > - error::from_err_ptr, > - error::Result, > + bindings, device, > + drm::{self, driver::AllocImpl}, > + error::{from_err_ptr, Result}, > prelude::*, > sync::aref::{ARef, AlwaysRefCounted}, > types::Opaque, > + workqueue::{HasWork, Work, WorkItem}, > }; Please use the kernel's import style when making changes.