i915: when kgdb is active display compression should be off
authorJason Wessel <jason.wessel@windriver.com>
Thu, 5 Aug 2010 14:22:32 +0000 (09:22 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 5 Aug 2010 14:22:32 +0000 (09:22 -0500)
commitc924b934d0cd14a4559611da91f28f59acebe32a
tree3c33d1b64b32bb96d30ccdab70a6094154d1e77b
parent81255565dbf5958187bdb6cc4e3aa0db9ce4d237
i915: when kgdb is active display compression should be off

If the HW compression is left on, the call backs from the HW will
crash the kernel.  The only time this code is called is when kernel
mode setting is in use with kgdb and the kdb shell.

The atomic display pipe handler callback will reset everything when
kgdb restores kernel to the run state.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
CC: David Airlie <airlied@linux.ie>
drivers/gpu/drm/i915/intel_display.c