Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217957
b: refs/heads/master
c: 77ad498
h: refs/heads/master
i:
  217955: 043386d
v: v3
  • Loading branch information
Daniel Vetter authored and Chris Wilson committed Sep 8, 2010
1 parent 4c610af commit 2711054
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 35 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d8d9abcd35aeebd633cba2e99c384f4e004ccb84
refs/heads/master: 77ad498ecaeb9a614d2a7bbfaab58a35c0cc577d
42 changes: 8 additions & 34 deletions trunk/drivers/char/agp/intel-gtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,54 +704,28 @@ static unsigned int intel_gtt_stolen_entries(void)
stolen_size = MB(32);
break;
case I915_GMCH_GMS_STOLEN_48M:
/* Check it's really I915G */
if (IS_I915 || IS_I965 || IS_G33 || IS_G4X)
stolen_size = MB(48);
else
stolen_size = 0;
stolen_size = MB(48);
break;
case I915_GMCH_GMS_STOLEN_64M:
/* Check it's really I915G */
if (IS_I915 || IS_I965 || IS_G33 || IS_G4X)
stolen_size = MB(64);
else
stolen_size = 0;
stolen_size = MB(64);
break;
case G33_GMCH_GMS_STOLEN_128M:
if (IS_G33 || IS_I965 || IS_G4X)
stolen_size = MB(128);
else
stolen_size = 0;
stolen_size = MB(128);
break;
case G33_GMCH_GMS_STOLEN_256M:
if (IS_G33 || IS_I965 || IS_G4X)
stolen_size = MB(256);
else
stolen_size = 0;
stolen_size = MB(256);
break;
case INTEL_GMCH_GMS_STOLEN_96M:
if (IS_I965 || IS_G4X)
stolen_size = MB(96);
else
stolen_size = 0;
stolen_size = MB(96);
break;
case INTEL_GMCH_GMS_STOLEN_160M:
if (IS_I965 || IS_G4X)
stolen_size = MB(160);
else
stolen_size = 0;
stolen_size = MB(160);
break;
case INTEL_GMCH_GMS_STOLEN_224M:
if (IS_I965 || IS_G4X)
stolen_size = MB(224);
else
stolen_size = 0;
stolen_size = MB(224);
break;
case INTEL_GMCH_GMS_STOLEN_352M:
if (IS_I965 || IS_G4X)
stolen_size = MB(352);
else
stolen_size = 0;
stolen_size = MB(352);
break;
default:
stolen_size = 0;
Expand Down

0 comments on commit 2711054

Please sign in to comment.