提交 3a498695 编写于 作者: K Kyle McMartin 提交者: Linus Torvalds

Revert "intel_agp: fix stolen mem range on G33"

This reverts commit f443675a, which
breaks horribly if you aren't running an unreleased xf86-video-intel
driver out of git.
Signed-off-by: NKyle McMartin <kyle@mcmartin.ca>
Cc: Dave Airlie <airlied@linux.ie>
Cc: Zhenyu Wang <zhenyu.z.wang@intel.com>
Acked-by: NKeith Packard <keithp@keithp.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 71e4eda8
...@@ -506,11 +506,6 @@ static void intel_i830_init_gtt_entries(void) ...@@ -506,11 +506,6 @@ static void intel_i830_init_gtt_entries(void)
break; break;
} }
} else { } else {
/* G33's GTT stolen memory is separate from gfx data
* stolen memory.
*/
if (IS_G33)
size = 0;
switch (gmch_ctrl & I855_GMCH_GMS_MASK) { switch (gmch_ctrl & I855_GMCH_GMS_MASK) {
case I855_GMCH_GMS_STOLEN_1M: case I855_GMCH_GMS_STOLEN_1M:
gtt_entries = MB(1) - KB(size); gtt_entries = MB(1) - KB(size);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册