Re: [Nouveau] [PATCH v5 05/16] swiotlb: Add restricted DMA pool initialization

2021-04-23 Thread Steven Price
On 22/04/2021 09:14, Claire Chang wrote: Add the initialization function to create restricted DMA pools from matching reserved-memory nodes. Signed-off-by: Claire Chang --- include/linux/device.h | 4 +++ include/linux/swiotlb.h | 3 +- kernel/dma/swiotlb.c| 80 ++

Re: [Nouveau] [PATCH v5 05/16] swiotlb: Add restricted DMA pool initialization

2021-04-29 Thread Steven Price
On 26/04/2021 17:37, Claire Chang wrote: On Fri, Apr 23, 2021 at 7:34 PM Steven Price wrote: [...] But even then if it's not and we have the situation where debugfs==NULL then the debugfs_create_dir() here will cause a subsequent attempt in swiotlb_create_debugfs() to fail (directory al

Re: [Nouveau] [PATCH] drm/gem: Expose the buffer object handle to userspace last

2023-05-04 Thread Steven Price
t; Cc: Rob Clark > Cc: Ben Skeggs > Cc: David Herrmann > Cc: Noralf Trønnes > Cc: David Airlie > Cc: Daniel Vetter > Cc: amd-...@lists.freedesktop.org > Cc: l...@lists.freedesktop.org > Cc: nouveau@lists.freedesktop.org > Cc: Steven Price > Cc: virtualizat...@list

Re: [Nouveau] [PATCH drm-misc-next v8 01/12] drm: manager to keep track of GPUs VA mappings

2023-07-20 Thread Steven Price
The fix below silences the warning. Thanks, Steve ---8<- >From 9c7356580362b6ac4673724f18ea6e8453b52913 Mon Sep 17 00:00:00 2001 From: Steven Price Date: Thu, 20 Jul 2023 10:58:09 +0100 Subject: [PATCH] drm: manager: Fix printk format for size_t sizeof() returns a size_t which may be

Re: [Nouveau] [PATCH drm-misc-next v8 02/12] drm: debugfs: provide infrastructure to dump a DRM GPU VA space

2023-07-20 Thread Steven Price
.c:212:7: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 212 | (u64)va->gem.obj, va->gem.offset); | ^ Adding an extra cast to uintptr_t shuts the compiler up (alternatively a proper pointer type like %px could be used in the format st

Re: [PATCH v4 1/7] drm/panthor: Add support for atomic page table updates

2025-07-16 Thread Steven Price
On 15/07/2025 16:33, Caterina Shablia wrote: > El martes, 15 de julio de 2025 17:08:09 (hora de verano de Europa central), > Caterina Shablia escribió: >> El viernes, 11 de julio de 2025 15:30:21 (hora de verano de Europa central), >> Steven Price escribió: >>> On

Re: [PATCH v4 1/7] drm/panthor: Add support for atomic page table updates

2025-07-16 Thread Steven Price
On 15/07/2025 17:09, Caterina Shablia wrote: > El martes, 15 de julio de 2025 17:08:09 (hora de verano de Europa central), > Caterina Shablia escribió: >> El viernes, 11 de julio de 2025 15:30:21 (hora de verano de Europa central), >> Steven Price escribió: >>> On

Re: [PATCH v4 7/7] drm/panthor: Add support for repeated mappings

2025-07-16 Thread Steven Price
On 15/07/2025 16:17, Caterina Shablia wrote: > El viernes, 11 de julio de 2025 16:03:26 (hora de verano de Europa central), > Steven Price escribió: >> On 07/07/2025 18:04, Caterina Shablia wrote: >>> From: Boris Brezillon >>> >>> This allows us to

Re: [PATCH v4 7/7] drm/panthor: Add support for repeated mappings

2025-07-11 Thread Steven Price
On 07/07/2025 18:04, Caterina Shablia wrote: > From: Boris Brezillon > > This allows us to optimize mapping of a relatively small > portion of a BO over and over in a large VA range, which > is useful to support Vulkan sparse bindings in an efficient > way. > > Signed-off-by: Boris Brezillon >

Re: [PATCH v4 2/7] drm/gpuvm: Kill drm_gpuva_init()

2025-07-11 Thread Steven Price
On 07/07/2025 18:04, Caterina Shablia wrote: > From: Boris Brezillon > > drm_gpuva_init() only has one internal user, and given we are about to > add new optional fields, it only add maintenance burden for no real > benefit, so let's kill the thing now. Commit 111fdd2198e6 ("drm/msm: drm_gpuvm c

Re: [PATCH v4 1/7] drm/panthor: Add support for atomic page table updates

2025-07-11 Thread Steven Price
On 07/07/2025 18:04, Caterina Shablia wrote: > From: Boris Brezillon > > Move the lock/flush_mem operations around the gpuvm_sm_map() calls so > we can implement true atomic page updates, where any access in the > locked range done by the GPU has to wait for the page table updates > to land befor

Re: [PATCH v2 01/19] gpu: nova-core: register: minor grammar and spelling fixes

2025-07-28 Thread Steven Price
this module provides an intuitive and >>> readable syntax for defining a >>> +//! dedicated type for each register. Each such type comes with its own >>> field accessors that can >>> +//! return an error if a field's value is invalid. >>> >&

Re: [PATCH v2 01/19] gpu: nova-core: register: minor grammar and spelling fixes

2025-07-28 Thread Steven Price
On 28/07/2025 12:43, Alexandre Courbot wrote: > On Mon Jul 28, 2025 at 4:51 PM JST, Steven Price wrote: >> On 28/07/2025 05:59, Alexandre Courbot wrote: >>> Hi Daniel, thanks for the review! >>> >>> On Sat Jul 26, 2025 at 1:14 AM JST, Daniel Almeida wrote:

Re: [PATCH v2 01/19] gpu: nova-core: register: minor grammar and spelling fixes

2025-07-30 Thread Steven Price
On 29/07/2025 14:47, Alexandre Courbot wrote: > On Mon Jul 28, 2025 at 10:25 PM JST, Steven Price wrote: >> On 28/07/2025 12:43, Alexandre Courbot wrote: >>> On Mon Jul 28, 2025 at 4:51 PM JST, Steven Price wrote: >>>> On 28/07/2025 05:59, Alexandre Courbot wrote: &