CVSROOT: /cvs Module name: src Changes by: o...@cvs.openbsd.org 2010/04/27 18:40:22
Modified files: sys/dev/pci/drm: i915_drv.c Log message: Deal with a non-incremented iterator by changing a while (condition) { do_stuff() increment_condition /* this was missing */ } To a for loop like it always should have been. I have no idea what I was smoking when I wrote this function. Fixes the crash on hardware that does bit 17 swizzling (turns out the three I know of are all 945s) as soon as we first unbind an object. Thank you very much to Brandon Mercer for actually managing to get me a crash dump so i could debug this, and also for testing the fix.