Jump to content
Sign in to follow this  
Cyprian_K

DMAEN vs normal GPU priority

Recommended Posts

is there any difference in writing/reading (to/from main) performance?

And is it worth to use STOREP / LOADP vs STORE / LOAD?

thanks

 

 

Share this post


Link to post
Share on other sites
3 hours ago, Cyprian_K said:

And is it worth to use STOREP / LOADP vs STORE / LOAD?

The main bus is 64-bit wide and so is the RAM, so using STORE / LOAD when you could be using STOREP / LOADP reduces performance. Of course, it only matters if you need to transfer more than 32 bits of data.

Share this post


Link to post
Share on other sites

Never used it, but according to the documentation, it doesn't. It does raises the GPU priority on the bus, but if there's no bus contention, it won't make any difference. And if there is bus contention, it causes the GPU to have a higher priority than the object processor, which is something you don't want as it will cause display glitches (as documented in the errata, which tells you not to use DMAEN).

Share this post


Link to post
Share on other sites

ok,

can it be considered as a lock the bus for the other devices?

It could allows to avoid additional waitstates when other devices touch a different memory page.

 

I guess glitches could avoidable, when GPU access is scheduled in the right moment e.g. top/bottom border

Share this post


Link to post
Share on other sites

STOREP/LOADP worth it when you can use it : if you can handle the restriction about those instruction.

 

I will not recommend to use DMAEN, I think that the headache to make it works as you want with all Tom bugs will not worth the time/boost ratio.

A better way is to optimize the GPU code. :)

 

 

 

Edited by SCPCD
  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...