Dumbing Things Up

True PPGTT [part 3]


The Per-Process Graphics Translation Tables provide real process isolation among the various graphics processes running within an i915 based system. Read more …

by ben on Jul 6, 2014

Aliasing PPGTT [part 2]


Read more …

by ben on Jun 16, 2014

The Global GTT [Part 1]


Here goes the basics of how the GEN GPU interacts with memory. It will be focused on the lowest levels of the i915 driver, and the hardware interaction. My hope is that by going through this in excruciating detail, I might be able to take more liberties in the future posts. Read more …

by ben on Jun 9, 2014

i915 command submission via gem_exec_nop

My goal is to lay down a basic understanding of how GEN GPU execution works using gem_exec_nop from the [intel-gpu-tools suite](http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/ "Intel GPU Tools") as an example. One who puts in the time to read this should understand how command submission works for the i915 driver, and how gem_exec_nop tests command submission. Read more …

by ben on Aug 25, 2013

i915.ko authors, by the numbers

Because of some event I cannot remember, I was curious to see which developers had how many lines of code. It turned out to be more of a challenge than I thought (mostly because of Unicode). Read more …

by ben on May 12, 2013

i915 Hardware Contexts (and some bits about batchbuffers)

and some bits about batchbuffers


Daniel asked me to write about hardware contexts on Intel GPUs some time ago. Hardware contexts aren't terribly interesting. However, the role of contexts has been steadily expanding, and as such, you need to start somewhere in the explanation. So let's consider this a precursor to really interesting stuff in the future (I hope). Read more …

by ben on Jan 25, 2013

Improving nurse scheduling by example: part 2

“fudging a solution”

Karin seems to have lost interest in this, and therefore I shant be working any further on it. However since I started writing this post a couple of weeks ago, I may as well finish. Also as a side note, I officially spent more time writing the blog entry than I did writing any code, so poop. Read more …

by ben on Aug 19, 2012

Improving nurse scheduling by example: part 1

"The Problem"

A while back, Karin approached me and asked if it's possible to write a program to create the schedule for nurses on her unit. I responded, "of course" although in th back of my mind I was thinking this might be can of worms. Read more …

by ben on Aug 4, 2012