Thread (29 messages) 29 messages, 9 authors, 2025-09-20

Re: [PATCH v2 06/12] media: rkvdec: Add RCB and SRAM support

From: Detlev Casanova <detlev.casanova@collabora.com>
Date: 2025-08-11 18:45:15
Also in: linux-media, linux-rockchip, lkml

On Monday, 11 August 2025 10:01:59 EDT Krzysztof Kozlowski wrote:
On 11/08/2025 15:54, Detlev Casanova wrote:
quoted
On Monday, 11 August 2025 02:13:42 EDT Krzysztof Kozlowski wrote:
quoted
On 08/08/2025 22:03, Detlev Casanova wrote:
quoted
-	vb2_dma_contig_set_max_seg_size(&pdev->dev, DMA_BIT_MASK(32));
-

 	irq = platform_get_irq(pdev, 0);
 	if (irq <= 0)
 	
 		return -ENXIO;
@@ -1204,6 +1217,10 @@ static int rkvdec_probe(struct platform_device
*pdev)>

 		return ret;
 	
 	}

+	rkvdec->sram_pool = of_gen_pool_get(pdev->dev.of_node, "sram", 0);
Didn't you just add new ABI?
Oh do you mean rkvdec_rcb_buf_count() ? I could indeed use that instead
here.
No, I meant DT/OF ABI for "sram".
Yes, the sram Documentation was added in commit c6ffb7e1fb90 "media: dt-
bindings: rockchip: Document RK3588 Video Decoder bindings".

Is that not how it is supposed to be used ?

Detlev.


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help