Commit 598d14482380312939a3e3a4ae0657eb6b50a532
Committed by
Dave Airlie
1 parent
9516b030b4
Exists in
master
and in
7 other branches
[AGP] intel_agp: extra stolen mem size available for IGD_GM chipset
This adds missing stolen memory size detect for IGD_GM, be sure to detect right size as current X intel driver (2.3.2) which has already worked out. Signed-off-by: Zhenyu Wang <zhenyu.z.wang@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/char/agp/intel-agp.c
... | ... | @@ -567,13 +567,13 @@ |
567 | 567 | gtt_entries = 0; |
568 | 568 | break; |
569 | 569 | case G33_GMCH_GMS_STOLEN_128M: |
570 | - if (IS_G33) | |
570 | + if (IS_G33 || IS_I965) | |
571 | 571 | gtt_entries = MB(128) - KB(size); |
572 | 572 | else |
573 | 573 | gtt_entries = 0; |
574 | 574 | break; |
575 | 575 | case G33_GMCH_GMS_STOLEN_256M: |
576 | - if (IS_G33) | |
576 | + if (IS_G33 || IS_I965) | |
577 | 577 | gtt_entries = MB(256) - KB(size); |
578 | 578 | else |
579 | 579 | gtt_entries = 0; |