diff options
author | Chris Wilson <[email protected]> | 2010-05-18 12:24:51 +0100 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-05-26 14:10:27 -0700 |
commit | f1befe71fa7a79ab733011b045639d8d809924ad (patch) | |
tree | 0855977ab676ad0f7ee4feb215e41ad29d30e371 /lib/debugobjects.c | |
parent | 9a7e8492d17394a81d5534abf90b5b2ada7ea3c0 (diff) |
agp/intel: Restrict GTT mapping to valid range on i915 and i945
References:
Bug 15733 - Crash when accessing nonexistent GTT entries in i915
https://bugzilla.kernel.org/show_bug.cgi?id=15733
On G33 and above, the size of the GTT space is determined by the GMCH
control register. Prior to this revision, the size is determined by the
size of the aperture. So we must careful to map and fill the appropriate
range depending on chipset.
Signed-off-by: Chris Wilson <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions