drm/i915: don't report compression when fbc is disabled
authorNagaraju, Vathsala <vathsala.nagaraju@intel.com>
Thu, 22 Sep 2016 08:49:53 +0000 (14:19 +0530)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 26 Sep 2016 19:56:10 +0000 (16:56 -0300)
commitbc4ec7c83976fe03d2be75a8f64ea825f7b42867
tree59adde0a804142f329bd834bea35c5411ae07717
parent86a462bcad329ca9232547857d466cc3012d7c2e
drm/i915: don't report compression when fbc is disabled

When i915_fbc_status is read while fbc is disabled,
it reports compressing to be true, which is confusing.
Report compressing only when fbc is enabled.

v2 (from Paulo): commit message capitalization.

Signed-off-by: vathsala nagaraju <vathsala.nagaraju@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1474534193-9527-1-git-send-email-vathsala.nagaraju@intel.com
drivers/gpu/drm/i915/i915_debugfs.c