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 D3E89D1951B for ; Mon, 26 Jan 2026 22:15:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 241FA10E0C7; Mon, 26 Jan 2026 22:15:40 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=ubuntu.com header.i=@ubuntu.com header.b="JP0baOeX"; dkim-atps=neutral X-Greylist: delayed 1347 seconds by postgrey-1.36 at gabe; Mon, 26 Jan 2026 22:15:38 UTC Received: from smtp.forwardemail.net (smtp.forwardemail.net [121.127.44.73]) by gabe.freedesktop.org (Postfix) with ESMTPS id 50ECE10E0C7 for ; Mon, 26 Jan 2026 22:15:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ubuntu.com; h=To: From: Subject: Message-Id: Date: Content-Type: Content-Transfer-Encoding: Mime-Version; q=dns/txt; s=fe-953a8a3ca9; t=1769465737; bh=8XQquTS6mlXO0ky9mljiExVnw5UBFPASjDn+GIqO8wc=; b=JP0baOeX2v+9EFYAutGn3TAi+q144+5bJnLsFjDRXruiFqSxUn+ZsaKqrg0JeI3zZE5qSmoAk nDR3Q/2Lx66qIObUJIExOb3ZpezRRv3CLMjJyEUmQwED1jW7hEfGU1ouQq+jkpV7zPJooUaQDLT 7QBa5wbCr1ftX0Y0tMv2wND7C1hQS0/CnWD4Pzv0ODgG1jzH3CBswXzacqzP4CHynpm83scYD4g pviCC4O6Oj0o48W64pykQGqaSnUQDjEhCDvQ6/09eNUhFs0rWX/33HCmiqjAz2kCDyOj7cF5Kwv +2HeyqNcAPXTKFACd6IC+EIAphcvibij1ypB1aLhYttQ== X-Forward-Email-ID: 6977e2413b9d3c0d72f6024f X-Forward-Email-Sender: rfc822; jpeisach@ubuntu.com, smtp.forwardemail.net, 121.127.44.73 X-Forward-Email-Version: 2.5.4 X-Forward-Email-Website: https://forwardemail.net X-Complaints-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Report-Abuse-To: abuse@forwardemail.net Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8; format=Flowed Date: Mon, 26 Jan 2026 16:53:04 -0500 Message-Id: Subject: TTM: should we remove ttm_bo_put? From: "Joshua Peisach" To: X-Mailer: aerc 0.20.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" Hi all, While looking for things to do, I noticed that in ttm_bo, the ttm_bo_put method has a TODO with the comment: "remove!" I was wondering if this is still a goal? Because ttm_bo_get still exists, it's just inlined. I also feel like that since it is used in util functions in ttm_bo_util the removal gets rid of the "abstraction"? Anyways, should ttm_bo_put be removed or should it make sense moving it to ttm_bo_internal as an inline function? Thanks, -Josh