Summary: | [hsw hidpi fbc] Log Message Spamming - "Reducing the compressed framebuffer size..." | ||
---|---|---|---|
Product: | DRI | Reporter: | Christopher Wawak <cwawak> |
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | intel-gfx-bugs |
Version: | XOrg git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
See Also: | https://bugzilla.redhat.com/show_bug.cgi?id=1189889 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Christopher Wawak
2015-02-05 02:47:08 UTC
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 */ (In reply to Jani Nikula from comment #1) > This is cargo culting, but please try Scratch that, please try this instead http://patchwork.freedesktop.org/patch/41758 (In reply to Jani Nikula from comment #2) > Scratch that, please try this instead > http://patchwork.freedesktop.org/patch/41758 Oh, btw, that applies to drm-intel-nightly branch of http://cgit.freedesktop.org/drm-intel Hi Jan, I have no idea how I would pull out the existing DRI subsystem in F21 and replace it with the -next branch, so I opened a Fedora bug (RHBZ# 1189889) to see if I can get some traction within the Fedora community for this. Thanks for your prompt attention, and as soon as I can test the code I will report back! Chris commit c021463b874119ddea9745ad5efe82b4f543a78c Author: Jani Nikula <jani.nikula@intel.com> Date: Thu Feb 5 12:04:27 2015 +0200 drm/i915/fbc: fix the check for already reserved fbc size in drm-intel-nightly. Thanks for the report. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.