summaryrefslogtreecommitdiff
path: root/tools/intel_gtt.c
AgeCommit message (Collapse)Author
2013-02-04intel_gtt: Fix PTE offsetsBen Widawsky
Vincent sent me a patch which I think didn't go far enough. Honestly, I don't even know what this tool does. Reported-by: Cheah, Vincent Beng Keat <vincent.beng.keat.cheah@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-08-27intel_gtt: Harden against changes to kernel mappings of the GTTChris Wilson
Rather than use the common mmio segment which will be in future restricted to just the registers and so exclude the GTT portion on all architectures, explicitly mmap the GTT ourselves. Repeat this mmapping with a couple of flags until we matching the existing kernel mapping. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-09tools/intel_gtt: fixup new warningsDaniel Vetter
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-14Remove confusing use of IS_9XXChris Wilson
... and test for what we mean instead. Reported-by: Diego Celix <dcelix@gmail.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-01Search for the first Intel dri device.Chris Wilson
This is vital in a multi-GPU system so that we only test the Intel card and not the discrete GPUs. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-08Enable compilation on non-Intel, non-DRM systems.Chris Wilson
A few of the tools can be performed post-mortem from a different system, so it is useful to be able to compile those tools on those foreign systems. Obviously, any program to interact with the PCI device or talk to GEM will fail on a non-Intel system. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-02-01intel_gtt: Add intel_gtt from the 2D driver.Eric Anholt
We've used it several times in bringing up the AGP driver, so it seems useful to have aronud.