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 6DDAF3DB334 for ; Thu, 11 Jun 2026 11:10:07 +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=1781176209; cv=none; b=F4OYu4AH9pn6aIRXRSqTgL/cYkyKNocfvQClJ9mdTmaxuYucOTs2L8vx4TtGUS7O4he4E6fBD8YGQAXipOgTSrjhLtkoAmbIwKGSs9cad1SVOz+0C7woj3aNVAg3/YvJT5Uhxa4BW/HBGvBp6PWwySSi/oCb4m1dzb/GGHmlmi0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781176209; c=relaxed/simple; bh=TEOPeQRDcTO8ZT8oB50G4bbjCXtdEl0gblwbnGjfT1A=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=hMWcr/Tjfbl2Ut3oPI17CMeE66WUtIAKoSYrvEAWTIvAPcjZAt/Fm7RVnco3QN2hQX5uutXGRuHa+6VFz9Dlm3WHbpyuc3WlV3OqUvEkg1yHV5PjgA6GpDLXpT99vOF+ggULnUK1iY5nt+por1aDt36FSEBN8e/4Z7m5Pq1gbko= 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=AMtgwrNv; 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="AMtgwrNv" Received: by mail-wm1-f74.google.com with SMTP id 5b1f17b1804b1-490e547f3cfso5217335e9.3 for ; Thu, 11 Jun 2026 04:10:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1781176206; x=1781781006; 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=YpGjHsDNrecPmydKZbz+npt4P/d2PQgzeW5pneBmX4A=; b=AMtgwrNvOy8NQbNMuY4JuWKsOzKBrE0K2E47go40gdE4ci3xMnu7z0AnKLVHnpV8RI /UDizTt/ni/+fPk3B+eQiCixKyVZYw8Y+/762G74AvPCDotyPS8sBkz2MUZTzXO6NBts q6541BAmHawAyGFLsjf/vpNZK9PddPhuN9r9fDOs7VHZjACq8m/p7HgacXDkPQ3o7v6W LpNnEd95uE4BZoDF/mp5M+yZLq7rfTeE4XOeifpAtzgaqlQVrBxg0X8Q5IZPNbCM7YHw W7EQPl02j4LYgannHqXkxgeFePoTQQzzeKsCkxahN6usxGTGoWcuQRrka8LArhaCbu4/ 9WIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781176206; x=1781781006; 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=YpGjHsDNrecPmydKZbz+npt4P/d2PQgzeW5pneBmX4A=; b=EBD2wfyPdie13nPwdbDfXngHRMV4I7Gsf38SfdA9EYnA6mf+H96IWlZpWaWKDCezQq YuL0zuE1kr49hqsDHulF6ugI/y1dlBNADRPlARXD2XiTOFjOH/SNx5rgaPwtFuaite+P wu/FYuUVBuk3OX3B8UisrKDm2IgCEMIRv9vATti7BiQ3bDwXHr7y+UPxLs/sv1Xon5kB hc0PpN8Fk8EkSepKVd5MtSjXaqsXqGRuO+HL+wm4N8qBADFO5+aBget5lDCUM8wYuXOU 7yrlOufTAuht7JQQ0U2qlCTN1j48zFm08tnS65zjM4yIG2tQcpwEh75MUk9X9FRejHlB E/3Q== X-Forwarded-Encrypted: i=1; AFNElJ/daJvIv6BF3JOduxpl3nAks7WdT7SEnKbCPx9VCB3wIAdeuUahch9/9PvDhMufIf6Wic2Vfb+86SmQVA==@vger.kernel.org X-Gm-Message-State: AOJu0YzC51h7edjjPAmdENGEabo2S3YzZWEpfRMr/OZrE0S4Tu4qUguL DFbtsu44X+fUoYSAYzpIbHOBdAp52mgGCbeUWv6wDKqUwrUD5j5olDf6p2gLosBy9AQ93vtwbik 0cuXzU2gCATHQKDPzow== X-Received: from wmqe21.prod.google.com ([2002:a05:600c:4e55:b0:490:b058:c623]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a7b:ca59:0:b0:490:9782:3eb8 with SMTP id 5b1f17b1804b1-490e561ee97mr20621955e9.25.1781176205567; Thu, 11 Jun 2026 04:10:05 -0700 (PDT) Date: Thu, 11 Jun 2026 11:10:04 +0000 In-Reply-To: <20260610162433.923550-3-lyude@redhat.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260610162433.923550-1-lyude@redhat.com> <20260610162433.923550-3-lyude@redhat.com> Message-ID: Subject: Re: [PATCH v20 2/4] rust: drm: gem: shmem: Add vmap functions From: Alice Ryhl To: Lyude Paul Cc: dri-devel@lists.freedesktop.org, rust-for-linux@vger.kernel.org, nouveau@lists.freedesktop.org, Alexandre Courbot , Gary Guo , "Christian =?utf-8?B?S8O2bmln?=" , driver-core@lists.linux.dev, Miguel Ojeda , Maarten Lankhorst , Simona Vetter , linux-kernel@vger.kernel.org, Sumit Semwal , linux-media@vger.kernel.org, "Rafael J . Wysocki" , Thomas Zimmermann , Maxime Ripard , David Airlie , Benno Lossin , linaro-mm-sig@lists.linaro.org, Danilo Krummrich , Mukesh Kumar Chaurasiya , Asahi Lina , Daniel Almeida , Greg Kroah-Hartman Content-Type: text/plain; charset="utf-8" On Wed, Jun 10, 2026 at 12:21:29PM -0400, Lyude Paul wrote: > One of the more obvious use cases for gem shmem objects is the ability to > create mappings into their contents. So, let's hook this up in our rust > bindings. > > Signed-off-by: Lyude Paul > Reviewed-by: Alexandre Courbot Reviewed-by: Alice Ryhl