Jan 23, 2014 - 10:15am
I am trying to understand the various components that make up the driver stack and where platform specific stuff lives. I am particularly trying to figure out how Haswell stuff works.
From what I understand so far there is a kernel driver that talks directly with hardware. This is called the DRM. The DRM provides an abstraction layer to make it easier to write the higher level stuff.
On the user mode side there is Mesa which talks to the DRM using a library.
When an OpenGL function is called, it calls into the Mesa implementation that calls down to the DRM which talks to the hardware.
Is that about right so far?
What I'm trying to find is where the Haswell specific stuff lives, does that only exist at the kernel level, or are their specific things in Mesa as well? I ask because I have found specific folders for older drivers but I can't find anything for Haswell. Is this because there are no Haswell drivers, or are they handled in a different way?
I am most likely missing something fundamental and obvious but I have just started looking at how the drivers work and any help would be most appreciated.