Commit f443675a authored by Zhenyu Wang's avatar Zhenyu Wang Committed by Linus Torvalds
Browse files

intel_agp: fix stolen mem range on G33

G33 GTT stolen memory is below graphics data stolen memory and be seperate,
so don't subtract it in stolen mem counting.
Signed-off-by: default avatarZhenyu Wang <>
Acked-by: default avatarDave Airlie <>
Cc: Dave Jones <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent e845498e
......@@ -506,6 +506,11 @@ static void intel_i830_init_gtt_entries(void)
} else {
/* G33's GTT stolen memory is separate from gfx data
* stolen memory.
if (IS_G33)
size = 0;
switch (gmch_ctrl & I830_GMCH_GMS_MASK) {
gtt_entries = MB(1) - KB(size);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment