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 BA27CE67A9C for ; Tue, 3 Mar 2026 08:55:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2D43E10E6DA; Tue, 3 Mar 2026 08:55:55 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="vRDFNObs"; dkim-atps=neutral Received: from mail-wm1-f74.google.com (mail-wm1-f74.google.com [209.85.128.74]) by gabe.freedesktop.org (Postfix) with ESMTPS id B76B610E6DA for ; Tue, 3 Mar 2026 08:55:54 +0000 (UTC) Received: by mail-wm1-f74.google.com with SMTP id 5b1f17b1804b1-48378df3469so36681655e9.1 for ; Tue, 03 Mar 2026 00:55:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1772528153; x=1773132953; darn=lists.freedesktop.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=z8CDLoKCw34ZLU+LNrqcbumI5p0ih3NynECG7cUf21k=; b=vRDFNObsW6w0lY9gNf2NgFED2yBI2BBVJkcBR/AGEfO6knxkKU0RskAdU17B0c7i3W yA4uiR2NdMF9qGErvHDf7gpEXHz+dZwDwgpIY6bSHR5HUGzfgECVqfkbX2SIyPKYz62H xSU0WOSLbHqkQhBg8rXzUyA489UBVGMxUZF2saeiLTNERcHn2tonNDPKITsyIfl9ePDm 2yYhor8tVD3u6w6kUJHZHjPewGMLTIeP4Pz6IBedGi3GSf9g5/CNPiQw548Mw5X2o1m7 zHBsnT8OFkTYNkaFPqiYpBL8azxrvqZmYBWrX4r2KqKRHIE0DbmySc85mlkP+EzyBnIU oBpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772528153; x=1773132953; 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=z8CDLoKCw34ZLU+LNrqcbumI5p0ih3NynECG7cUf21k=; b=mp/RPCaAFg8B76l5yUbBoy7uO6RvCKSe6lNDPG40AgTzq79T+GQxLcfW/3pm/1wQ7Y 9QHU7NoEiThyJ7c9/JF6OEGdyuYzGg/gaissDy0ezs+7S9/GgdYWz6IzMWgUq0ChKm55 hiOrkn4o7dJZKBRDngxbMJQ5rOSaHMT81RF1HmTNrQOlyaMQXaMf3d/ytpEnlrMy2sAA /LXnl6lDBnepQyvORD6NB1tRIdQ3vOEa34dC6u5WTqq+dEo8RFca+x3ks9a7ILdiF41I vfQ2SMJFewu0cgfKYuRDoxj36YkXUZ+QgayVTw1uHcwpi0sP+0MTEUI1p599nuceX6cX Acsw== X-Gm-Message-State: AOJu0YyJqRjPBmMGVh7rGaXwDk3dHs+JQeK5OhEDdpldpg1YaQOA7ybK Ki7beCjASlkD6vYc8wwkiuciIuoNq+Cn+a695zNlDYDe3IUzkRqs9jEwAyJ7F+OM/ga0DBgfKvP 1l1P0JQstKsgmxj48QA== X-Received: from wmsl28.prod.google.com ([2002:a05:600c:1d1c:b0:480:6a92:ae1]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:35c3:b0:47e:e2b8:66e6 with SMTP id 5b1f17b1804b1-48513c752cbmr24398945e9.14.1772528152926; Tue, 03 Mar 2026 00:55:52 -0800 (PST) Date: Tue, 3 Mar 2026 08:55:52 +0000 In-Reply-To: <20260302202331.176140-1-deborah.brouwer@collabora.com> Mime-Version: 1.0 References: <20260302202331.176140-1-deborah.brouwer@collabora.com> Message-ID: Subject: Re: [PATCH] drm/tyr: Use DRM device type alias across driver From: Alice Ryhl To: Deborah Brouwer Cc: dri-devel@lists.freedesktop.org, rust-for-linux@vger.kernel.org, daniel.almeida@collabora.com, boris.brezillon@collabora.com Content-Type: text/plain; charset="utf-8" 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 Mon, Mar 02, 2026 at 12:23:31PM -0800, Deborah Brouwer wrote: > Currently Tyr defines a convenience type alias for its DRM device type, > `TyrDrmDevice` but it does not use the alias outside of `tyr/driver.rs`. > > Replace `drm::Device` with the alias `TyrDrmDevice` across > the driver. > > This change will ease future upstream Tyr development by reducing the > diffs when multiple series are touching these files. > > No functional changes are intended. > > Signed-off-by: Deborah Brouwer Reviewed-by: Alice Ryhl