[Bug 88975] Log Message Spamming - "Reducing the compressed framebuffer size..."

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 5 00:39:02 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88975

Jani Nikula <jani.nikula at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Jani Nikula <jani.nikula at intel.com> ---
We should probably do something about the logging, too, but I think in this
case it's a symptom of another bug that needs to be fixed.

This is cargo culting, but please try

diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c
b/drivers/gpu/drm/i915/i915_gem_stolen.c
index a2045848bd1a..b7dd1b2fa4b9 100644
--- a/drivers/gpu/drm/i915/i915_gem_stolen.c
+++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
@@ -253,7 +253,7 @@ int i915_gem_stolen_setup_compression(struct drm_device
*dev, int size, int fb_c
     if (!drm_mm_initialized(&dev_priv->mm.stolen))
         return -ENODEV;

-    if (size < dev_priv->fbc.size)
+    if (size < dev_priv->fbc.size * dev_priv->fbc.threshold)
         return 0;

     /* Release any current block */

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150205/89c44e2d/attachment.html>


More information about the intel-gfx-bugs mailing list