drm/i915: Fix reason for per-chip disabling of FBC
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 24 Jun 2013 15:22:02 +0000 (16:22 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Jul 2013 09:27:46 +0000 (11:27 +0200)
commit8a5729a37375c20a196e14ce49b4390d42bdb87b
tree2f2f439ea974f5301ad1e3615d31f69058df4b4b
parentb63fb44c65ac37ceac8acd258939fcdc9f223c42
drm/i915: Fix reason for per-chip disabling of FBC

When running on my snb machine, recent kernels display successively:

[drm:intel_update_fbc], fbc set to per-chip default
[drm:intel_update_fbc], fbc disabled per module param

But no module param is set. This happens because the check for the
module parameter uses a variable that has been overridden inside the
"per-chip default" code.

Fix up the logic and add another reason for the FBC to the be disabled.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_pm.c
This page took 0.024861 seconds and 5 git commands to generate.