Re: [PATCH 8/9] drm/panthor: Add i.MX95 support

2025-03-03 Thread Florent Tomasin
Hi Marek, On 28/02/2025 17:26, Marek Vasut wrote: > On 2/28/25 12:23 PM, Florent Tomasin wrote: > > Hi, > >>>> diff --git a/drivers/gpu/drm/panthor/panthor_drv.c b/drivers/gpu/ >>>> drm/panthor/panthor_drv.c >>>> index 06fe46e320738..2504a45

Re: [PATCH 8/9] drm/panthor: Add i.MX95 support

2025-02-28 Thread Florent Tomasin
Hi Marek and Alexander, On 28/02/2025 10:21, Alexander Stein wrote: > Hi Marek, > > Am Donnerstag, 27. Februar 2025, 17:58:08 CET schrieb Marek Vasut: >> The instance of the GPU populated in Freescale i.MX95 is the >> Mali G310, add support for this variant. >> >> Signed-off-by: Marek Vasut >> -

Re: [RFC PATCH 1/5] dt-bindings: dma: Add CMA Heap bindings

2025-02-12 Thread Florent Tomasin
On 12/02/2025 10:49, Maxime Ripard wrote: > On Wed, Feb 12, 2025 at 10:29:32AM +0000, Florent Tomasin wrote: >> >> >> On 12/02/2025 10:01, Maxime Ripard wrote: >>> On Wed, Feb 12, 2025 at 09:49:56AM +, Florent Tomasin wrote: >>>> Note that the

Re: [RFC PATCH 1/5] dt-bindings: dma: Add CMA Heap bindings

2025-02-12 Thread Florent Tomasin
On 12/02/2025 10:01, Maxime Ripard wrote: > On Wed, Feb 12, 2025 at 09:49:56AM +0000, Florent Tomasin wrote: >> Note that the CMA patches were initially shared to help reproduce my >> environment of development, I can isolate them in a separate patch >> series and include

Re: [RFC PATCH 1/5] dt-bindings: dma: Add CMA Heap bindings

2025-02-12 Thread Florent Tomasin
Hi Nicolas, On 04/02/2025 18:12, Nicolas Dufresne wrote: > Hi Florent, > > Le lundi 03 février 2025 à 13:36 +, Florent Tomasin a écrit : >> >> On 30/01/2025 13:28, Maxime Ripard wrote: >>> Hi, >>> >>> On Thu, Jan 30, 2025 at 01:08:57PM +,

Re: [RFC PATCH 3/5] dt-bindings: gpu: Add protected heap name to Mali Valhall CSF binding

2025-02-12 Thread Florent Tomasin
Hi Nicolas and Krzysztof, On 09/02/2025 11:56, Krzysztof Kozlowski wrote: > On 06/02/2025 22:21, Nicolas Dufresne wrote: >> Le mercredi 05 février 2025 à 10:13 +0100, Krzysztof Kozlowski a écrit : >>> On 03/02/2025 16:31, Florent Tomasin wrote: >>>> Hi Krzysztof

Re: [RFC PATCH 0/5] drm/panthor: Protected mode support for Mali CSF GPUs

2025-02-03 Thread Florent Tomasin
axime Ripard a écrit : >>>> Hi, >>>> >>>> I started to review it, but it's probably best to discuss it here. >>>> >>>> On Thu, Jan 30, 2025 at 01:08:56PM +, Florent Tomasin wrote: >>>>> Hi, >>>>>

Re: [RFC PATCH 1/5] dt-bindings: dma: Add CMA Heap bindings

2025-02-03 Thread Florent Tomasin
Hi Rob On 30/01/2025 23:20, Rob Herring wrote: > > Why would panthor need CMA, it has an MMU. > > In any case, I agree with Maxime that this is redundant. > This is correct, the GPU has an MMU. The reason I introduced this custom CMA DTB entry is to allow creation of a standalone DMA heap whic

Re: [RFC PATCH 3/5] dt-bindings: gpu: Add protected heap name to Mali Valhall CSF binding

2025-02-03 Thread Florent Tomasin
Hi Krzysztof On 30/01/2025 13:25, Krzysztof Kozlowski wrote: > On 30/01/2025 14:08, Florent Tomasin wrote: >> Allow mali-valhall-csf driver to retrieve a protected >> heap at probe time by passing the name of the heap >> as attribute to the device tree GPU node. > >

Re: [RFC PATCH 2/5] cma-heap: Allow registration of custom cma heaps

2025-02-03 Thread Florent Tomasin
Hi, On 30/01/2025 13:34, Maxime Ripard wrote: >> This patch introduces a cma-heap probe function, allowing >> users to register custom cma heaps in the device tree. >> >> A "memory-region" is bound to the cma heap at probe time >> allowing allocation of DMA buffers from that heap. >> >> Use cases:

Re: [RFC PATCH 1/5] dt-bindings: dma: Add CMA Heap bindings

2025-02-03 Thread Florent Tomasin
On 30/01/2025 13:28, Maxime Ripard wrote: > Hi, > > On Thu, Jan 30, 2025 at 01:08:57PM +, Florent Tomasin wrote: >> Introduce a CMA Heap dt-binding allowing custom >> CMA heap registrations. >> >> * Note to the reviewers: >> The patch was used fo

[RFC PATCH 4/5] drm/panthor: Add support for protected memory allocation in panthor

2025-01-30 Thread Florent Tomasin
via PRIME by importing the DMA buffer. Signed-off-by: Florent Tomasin --- drivers/gpu/drm/panthor/Kconfig | 1 + drivers/gpu/drm/panthor/panthor_device.c | 22 ++- drivers/gpu/drm/panthor/panthor_device.h | 7 drivers/gpu/drm/panthor/panthor_fw.c | 36

[RFC PATCH 3/5] dt-bindings: gpu: Add protected heap name to Mali Valhall CSF binding

2025-01-30 Thread Florent Tomasin
Allow mali-valhall-csf driver to retrieve a protected heap at probe time by passing the name of the heap as attribute to the device tree GPU node. Signed-off-by: Florent Tomasin --- .../devicetree/bindings/gpu/arm,mali-valhall-csf.yaml | 6 ++ 1 file changed, 6 insertions(+) diff

[RFC PATCH 1/5] dt-bindings: dma: Add CMA Heap bindings

2025-01-30 Thread Florent Tomasin
reproduce the environment of testing. Please, raise interest if you think the patch has value in the Linux kernel. Signed-off-by: Florent Tomasin --- .../devicetree/bindings/dma/linux,cma.yml | 43 +++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree

[RFC PATCH 0/5] drm/panthor: Protected mode support for Mali CSF GPUs

2025-01-30 Thread Florent Tomasin
re required to construct a protected mode job in user space, which can be submitted to the GPU. Some of the changes may seems controversial and we would appreciate getting opinion from the community. Regards, Florent Tomasin (5): dt-bindings: dma: Add CMA Heap bindings cma-heap: Allow registra

[RFC PATCH 5/5] drm/panthor: Add support for entering and exiting protected mode

2025-01-30 Thread Florent Tomasin
. - When a protected mode job is suspended as a result of the CSGs rotation, the GPU will send an IRQ to the CPU to notify that the protected mode job needs to resume. This sequence will continue so long the user space is submitting protected mode jobs. Signed-off-by: Florent Tomasin

[RFC PATCH 2/5] cma-heap: Allow registration of custom cma heaps

2025-01-30 Thread Florent Tomasin
patch has value in the Linux kernel. Signed-off-by: Florent Tomasin --- drivers/dma-buf/heaps/cma_heap.c | 120 +-- 1 file changed, 81 insertions(+), 39 deletions(-) diff --git a/drivers/dma-buf/heaps/cma_heap.c b/drivers/dma-buf/heaps/cma_heap.c index 9512d050563a..8f

[PATCH] drm/panthor: Remove dead code

2025-01-07 Thread Florent Tomasin
Remove unused function declaration in panthor_gem.h: - `panthor_gem_prime_import_sg_table()` Remove duplicate macro definitions: - `MAX_CSG_PRIO` - `MIN_CS_PER_CSG` - `MIN_CSGS` Signed-off-by: Florent Tomasin --- drivers/gpu/drm/panthor/panthor_fw.c| 1 - drivers/gpu/drm/panthor

[PATCH] drm/panthor: Fix invalid handling of AS_LOCKADDR

2025-01-07 Thread Florent Tomasin
: Florent Tomasin --- drivers/gpu/drm/panthor/panthor_mmu.c | 37 --- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/panthor/panthor_mmu.c b/drivers/gpu/drm/panthor/panthor_mmu.c index c39e3eb1c15d..e834bc4d9a52 100644 --- a/drivers/gpu/drm

[PATCH 2/2] drm/panel: add panel CDTech S050WV43-CT5 to panel-simple

2019-04-18 Thread Florent TOMASIN
This patch adds support for CDTech S050WV43-CT5 800x480 5" panel to DRM simple panel driver. Signed-off-by: Florent TOMASIN --- drivers/gpu/drm/panel/panel-simple.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/dr

[PATCH 1/2] dt-bindings: Add CDTech S050WV43-CT5 panel bindings

2019-04-18 Thread Florent TOMASIN
Add documentation for S050WV43-CT5 panel Signed-off-by: Florent TOMASIN --- .../bindings/display/panel/cdtech,s050wv43-ct5.txt | 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/cdtech,s050wv43-ct5.txt diff --git a