summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem_gtt.c
diff options
context:
space:
mode:
authorBen Widawsky2014-02-20 07:05:46 +0100
committerDaniel Vetter2014-03-05 21:29:57 +0100
commit7907f45bf9f67a1c5e5d4ae05bab428d7c2f43b2 (patch)
treeebfe3cb1c65869bfffd574e86d336c4f102d723b /drivers/gpu/drm/i915/i915_gem_gtt.c
parentdrm/i915/bdw: Reorganize PT allocations (diff)
downloadkernel-qcow2-linux-7907f45bf9f67a1c5e5d4ae05bab428d7c2f43b2.tar.gz
kernel-qcow2-linux-7907f45bf9f67a1c5e5d4ae05bab428d7c2f43b2.tar.xz
kernel-qcow2-linux-7907f45bf9f67a1c5e5d4ae05bab428d7c2f43b2.zip
Revert "drm/i915/bdw: Limit GTT to 2GB"
This reverts commit 3a2ffb65eec6dbda2fd8151894f51c18b42c8d41. Now that the code is fixed to use smaller allocations, it should be safe to let the full GGTT be used on BDW. The testcase for this is anything which uses more than half of the GTT, thus eclipsing the old limit. Reviewed-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_gtt.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gem_gtt.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 862ae371697a..faa0319b8e46 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -1725,11 +1725,6 @@ static inline unsigned int gen8_get_total_gtt_size(u16 bdw_gmch_ctl)
bdw_gmch_ctl &= BDW_GMCH_GGMS_MASK;
if (bdw_gmch_ctl)
bdw_gmch_ctl = 1 << bdw_gmch_ctl;
- if (bdw_gmch_ctl > 4) {
- WARN_ON(!i915.preliminary_hw_support);
- return 4<<20;
- }
-
return bdw_gmch_ctl << 20;
}