diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-08-26 21:22:14 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-08-27 09:34:30 +0200 |
commit | a4783f9485f78c80e7cc1eb041634b4b8a3aa4b9 (patch) | |
tree | f8f7c7f19951008fa4a7f229ff6d3d63b0c9bfe5 /lib/intel_mmio.c | |
parent | 3d148e164d498d81cc3990c85b65afee8bcca3b8 (diff) |
intel_gtt: Harden against changes to kernel mappings of the GTT
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>
Diffstat (limited to 'lib/intel_mmio.c')
0 files changed, 0 insertions, 0 deletions