From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f73.google.com (mail-ed1-f73.google.com [209.85.208.73]) (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 106473845DE for ; Thu, 16 Apr 2026 07:14:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776323677; cv=none; b=e0moNa1SgoiR4qJ/Kxpm8bBIUmxnoBhf34UzLZxJ46q91BWeNjeq26KH3TYjeMBL/NHniQ0OCvBCP8K3pMj3yczvjgKu2dRa8Imwv1eoayJsnhevLSOkTjrnuDTROBjluIrgawHl/HwVqkxcmpYll25zq+JI1l0Qy5Hzg402EQY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776323677; c=relaxed/simple; bh=7XPFoYVvW840ggfiHqGIw3DjMqJsRLWwR9BRBE6BRwU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=B1OE8pyB3SrbrXXDRO1qTutV9+imrWMzTjqO3tqXeghNKourQw+UrwCBehWdvMPVjwj+1Mc048VXOSiAEoBhfKQFElz5Am2xcLslCJOIxkOXEtmf2YiSvdsP3SXek6KkMONLcbv5LYuUZUIPZ3oiqvdQYElauykOiTVi52HCZUQ= 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=NUs9+dp7; arc=none smtp.client-ip=209.85.208.73 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="NUs9+dp7" Received: by mail-ed1-f73.google.com with SMTP id 4fb4d7f45d1cf-66a3c95958fso6313451a12.2 for ; Thu, 16 Apr 2026 00:14:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1776323672; x=1776928472; 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=GtvMyyx9perCSSdK6F2JuwmKCFC8HVERv4ogEceJbg0=; b=NUs9+dp7Rq1E04my6MzxxgNHRyqZCUn9K+YnZHGjpLxE7yhIXggVfFqsRCYwdPCV3k H+RDNOrj+KhaxpQRRJWrMde0PKF3t9uEZAEc80pHdY2USWhnOLExNRq0aZDgJXq0ChSw sbjy1jsQIvEzEoCNkEFtuQNtHULoUS62lOmK9cc65ONV6FbSuiFo8K4P0uPD2Y9sKW8m gXblZHHjJSIN9BL/DrlUJv+JyJZeQZZa1IPhgQp11WsB6aIFf87toSeE6kpoAWQd+bLH 4fFwAjnaaWIjsCd3PB/I7KwZmY4y30r+TCrt6R72KapjiQ/xvJp02Z287mQSOwtOAPeN GEAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776323672; x=1776928472; 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=GtvMyyx9perCSSdK6F2JuwmKCFC8HVERv4ogEceJbg0=; b=TFC4SJLrcjogIYhzLp8CjzR7tX9Z3XbBMYIzP8PR1sg/AzFKgakyYRN1jhJQdiDTnD iTRjqhn9f2boNqRfZX1ROSIHXKPzhh/5atUH6UKoHPcOQvUMmKxTqo9jHjFWwBl1X7bH wxdAwXvFWE/xmg9IcXxS3bDKxmETQhixumdSzi58BbtWz2nD5zNu+60oa0JM9PdBh7jR d/aKZXIdNFfuWC6W+sYdUm7BR0p+03g98UkeQ5fbNweBtdvE5LMFQDjBZp17WA0/PGS4 NkcYf0zLMPZpAUj6caD10huFjyfqv9qZ5qreqzlFpyuklq//KNKWXE3n6+i27kmkzYix 8xoA== X-Forwarded-Encrypted: i=1; AFNElJ98FZsx/1L5b32ziQHLaa+hIqdTxwpr9bMEbnE88zfPEr7wFyWk8bNPbdiWkOUje5mSg3WhNl45XqzoCuk=@vger.kernel.org X-Gm-Message-State: AOJu0YxQX1pTSIJ9bs5t3MbE4XqRWPQqdVMlQzj3+Clb7vkcO2D+PIZ5 Q5Hj3yh7vcxOQR3FH2S9MW7oGKQeOMHORmTHk7v3XaUcn4Qqukr3Q/1OB4fxcZJq2T2tUJ9G2RD I/Q4SRJwLJlFECY5u1Q== X-Received: from edwo26.prod.google.com ([2002:aa7:dd5a:0:b0:671:2fcb:edb8]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6402:4544:b0:66b:aa56:ee5b with SMTP id 4fb4d7f45d1cf-6707b1067d0mr8867411a12.28.1776323671860; Thu, 16 Apr 2026 00:14:31 -0700 (PDT) Date: Thu, 16 Apr 2026 07:14:31 +0000 In-Reply-To: <20260415-projection-syntax-rework-v1-4-450723cb3727@garyguo.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260415-projection-syntax-rework-v1-0-450723cb3727@garyguo.net> <20260415-projection-syntax-rework-v1-4-450723cb3727@garyguo.net> Message-ID: Subject: Re: [PATCH 4/5] gpu: nova-core: use pointer projection for command queue code From: Alice Ryhl To: Gary Guo Cc: Danilo Krummrich , Abdiel Janulgue , Daniel Almeida , Robin Murphy , Andreas Hindborg , Miguel Ojeda , Boqun Feng , "=?utf-8?B?QmrDtnJu?= Roy Baron" , Benno Lossin , Trevor Gross , Alexandre Courbot , David Airlie , Simona Vetter , driver-core@lists.linux.dev, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="utf-8" On Wed, Apr 15, 2026 at 08:57:15PM +0100, Gary Guo wrote: > From: Alexandre Courbot > > This has been previously attempted but missing compiler optimisations for > older LLVM versions cause build errors. With the panicking index projection > variant implemented, replace the manual pointer arithmetic with projection. > > Signed-off-by: Alexandre Courbot > Co-developed-by: Gary Guo > Signed-off-by: Gary Guo Reviewed-by: Alice Ryhl