CPU and GPU parallelism

Graphic based area of development (Graphics Processing Unit), including the Geometry Transform Engine (GTE), TIM, STR (MDEC), etc.
Post Reply
ericde45
Curious PSXDEV User
Curious PSXDEV User
Posts: 19
Joined: Aug 07, 2024
Location: France

CPU and GPU parallelism

Post by ericde45 » February 23rd, 2025, 11:01 pm

hi there,

while thinking about a 2D graphic pipeline, and reading https://psx-spx.consoledev.net/dmachann ... during-dma, i wondered about cpu and gpu possible or impossible parallelism.

if i understood weel, i can create a linked list of objects/gpu commands, in main RAM, that i can pass to the GPU for execution.

as the gpu has only a 64 bytes fifo, and as dma stops cpu access to RAM, is there any real parallelism while the gpu is executing a list of commands sent using dma ?

User avatar
nocash
Verified
PSX Aficionado
PSX Aficionado
Posts: 634
Joined: Nov 12, 2012
Contact:

Post by nocash » February 24th, 2025, 1:23 am

The linked list DMA is broken down into small DMA-snippets for writing to the FIFO, and the CPU is running between those DMA-snippets.

So yes, CPU and GPU can work in parallel. A very large linked-list, with many tiny 1x1pixel Rects will more time away from the CPU.

The official specs are here https://problemkaputt.de/psxspx-dma-channels.htm
I have no idea how has made that hacked version at https://psx-spx.consoledev.net/dmachann ... during-dma
I am torn apart how much I should like or dislike it. At first glance it seems to be just a ripoff of my own document, with different formatting to make it incompible with my web-browser.

But there are also subtle changes with improved or vandalized information: In this case, the "CPU Operation during DMA" section is significantly different (if the CPU could really keep running in cache would be fine, although I don't know if that's actually true).

ericde45
Curious PSXDEV User
Curious PSXDEV User
Posts: 19
Joined: Aug 07, 2024
Location: France

Post by ericde45 » February 24th, 2025, 1:43 am

thanks a lot for this clear anwser !

Sophia2005
What is PSXDEV?
What is PSXDEV?
Posts: 1
Joined: Apr 29, 2025
PlayStation Model: DTL-H1001
Location: United States

Post by Sophia2005 » April 29th, 2025, 7:37 pm

Monkey Mart Thanks for sharing the details and citing clearly!

User avatar
MasterLink
Serious PSXDEV User
Serious PSXDEV User
Posts: 111
Joined: Jul 20, 2024
I am a: Electronics repair, music and art.
Motto: Try it anyway, it might work.
PlayStation Model: DTL-H1001H
Location: USA

Post by MasterLink » Yesterday, 2:17 am

Sophia2005 wrote: April 29th, 2025, 7:37 pm Monkey Mart Thanks for sharing the details and citing clearly!
*sigh*
Screenshot 2025-04-29 111657.png
You do not have the required permissions to view the files attached to this post.
PSXDev has a bot problem. If you see a random post with a stray pixel, don't click that pixel, it might be a hidden URL. REPORT it and be absolutely sure to mention where and how you found the hidden URL. Sometimes it's not in their sig, but hidden in quoted posts. If the report is declined, push back if you are 100% sure.

User avatar
gwald
Verified
Net Yaroze Enthusiast
Net Yaroze Enthusiast
Posts: 341
Joined: Sep 18, 2013
I am a: programmer/DBA
PlayStation Model: Net Yaroze
Contact:

Post by gwald » Yesterday, 8:59 pm

MasterLink wrote: Yesterday, 2:17 am
Sophia2005 wrote: April 29th, 2025, 7:37 pm Monkey Mart Thanks for sharing the details and citing clearly!
*sigh*

Screenshot 2025-04-29 111657.png
Thanks for sharing the details and citing clearly! :lol: :lol: :lol: :lol:

User avatar
MasterLink
Serious PSXDEV User
Serious PSXDEV User
Posts: 111
Joined: Jul 20, 2024
I am a: Electronics repair, music and art.
Motto: Try it anyway, it might work.
PlayStation Model: DTL-H1001H
Location: USA

Post by MasterLink » Today, 12:42 am

gwald wrote: Yesterday, 8:59 pm
MasterLink wrote: Yesterday, 2:17 am
Sophia2005 wrote: April 29th, 2025, 7:37 pm Monkey Mart Thanks for sharing the details and citing clearly!
*sigh*

Screenshot 2025-04-29 111657.png
Thanks for sharing the details and citing clearly! :lol: :lol: :lol: :lol:
I love the irony, lol. It was like the bot wrote their own thanks for being called out. :lol:
PSXDev has a bot problem. If you see a random post with a stray pixel, don't click that pixel, it might be a hidden URL. REPORT it and be absolutely sure to mention where and how you found the hidden URL. Sometimes it's not in their sig, but hidden in quoted posts. If the report is declined, push back if you are 100% sure.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests