diff options
author | Jesse Barnes <[email protected]> | 2012-11-14 20:43:31 +0000 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2013-01-11 14:26:38 -0800 |
commit | a9acc5365dbda29f7be2884efb63771dc24bd815 (patch) | |
tree | 15d39f3b236bc5956bbe487749852c326f9d1bc6 /lib/debugobjects.c | |
parent | 886d751a2ea99a160f2d0a472231566d9cb0cf58 (diff) |
x86/Sandy Bridge: reserve pages when integrated graphics is present
SNB graphics devices have a bug that prevent them from accessing certain
memory ranges, namely anything below 1M and in the pages listed in the
table. So reserve those at boot if set detect a SNB gfx device on the
CPU to avoid GPU hangs.
Stephane Marchesin had a similar patch to the page allocator awhile
back, but rather than reserving pages up front, it leaked them at
allocation time.
[ hpa: made a number of stylistic changes, marked arrays as static
const, and made less verbose; use "memblock=debug" for full
verbosity. ]
Signed-off-by: Jesse Barnes <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions