aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
-rw-r--r--drivers/gpu/drm/i915/i915_dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index e9fb8953c606..3f7b20392e26 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -1078,7 +1078,7 @@ static void i915_setup_compression(struct drm_device *dev, int size)
1078 if (!cfb_base) 1078 if (!cfb_base)
1079 goto err_fb; 1079 goto err_fb;
1080 1080
1081 if (!(IS_GM45(dev) || IS_IRONLAKE_M(dev))) { 1081 if (!(IS_GM45(dev) || HAS_PCH_SPLIT(dev))) {
1082 compressed_llb = drm_mm_search_free(&dev_priv->mm.stolen, 1082 compressed_llb = drm_mm_search_free(&dev_priv->mm.stolen,
1083 4096, 4096, 0); 1083 4096, 4096, 0);
1084 if (compressed_llb) 1084 if (compressed_llb)
@@ -1096,7 +1096,7 @@ static void i915_setup_compression(struct drm_device *dev, int size)
1096 1096
1097 intel_disable_fbc(dev); 1097 intel_disable_fbc(dev);
1098 dev_priv->compressed_fb = compressed_fb; 1098 dev_priv->compressed_fb = compressed_fb;
1099 if (IS_IRONLAKE_M(dev)) 1099 if (HAS_PCH_SPLIT(dev))
1100 I915_WRITE(ILK_DPFC_CB_BASE, compressed_fb->start); 1100 I915_WRITE(ILK_DPFC_CB_BASE, compressed_fb->start);
1101 else if (IS_GM45(dev)) { 1101 else if (IS_GM45(dev)) {
1102 I915_WRITE(DPFC_CB_BASE, compressed_fb->start); 1102 I915_WRITE(DPFC_CB_BASE, compressed_fb->start);