MTRR and graphics acceleration

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

MTRR and graphics acceleration

Post by BrightLight »

I wanted to read about MTRR, because it can improve graphics performance (and I need that because I don't have time to waste writing drivers for closed-standard cards...)
Anyways, the Wiki and most Internet resources are unclear on MTRR. My question is: what exactly is MTRR? How does it work?
You know your OS is advanced when you stop using the Intel programming guide as a reference.
alexfru
Member
Member
Posts: 1123
Joined: Tue Mar 04, 2014 5:27 am

Re: MTRR and graphics acceleration

Post by alexfru »

Learn to work with official CPU documentation. Your PDF viewer has a search box, where you can enter MTRR. The wiki is no replacement for everything. If you want to learn something, you need to actually make an effort.
In short, MTRRs and later the new format of page table entries let you specify which memory ranges have what caching.
Options include: uncacheable, write combining, write-through, write-back, write protected.
Post Reply