From: Jason Wessel on
Linus please pull the kms-merge branch which merges the atomic kernel
mode setting hooks into the kernel debugger.

git:// kms-merge

--- Notes for Linus ---

All the code patches are acked or signed off by Jesse Barnes as this
patch set was co-developed and tested by each of us. These patches
are not in the drm git tree due to the dependence to kgdb/kdb patches.

--- End Notes for Linus ---

This patch set stacks on top of the kgdb / kdb patches and focuses on
further extending kdb to accommodate atomic kernel mode setting (kms).
The idea is that simply setting "kgdboc=kms,kbd" as a kernel argument
will allow you to catch a panic, kernel fault, or jump into the kernel
debugger shell from a graphics console session.

At the moment only the Intel i915 class video devices are supported,
but the API is generic and allows for other kms based drivers to
enable atomic mode setting.


The following changes since commit 9f64eb95d0cfd50675067d7a76f9d8efc53dc21c:
Jason Wessel (1):
debug_core,kdb: fix crash when arch does not have single step

are available in the git repository at:

. kms-merge

Jason Wessel (5):
vt,console,kdb: automatically set kdb LINES variable
kgdboc: Add call backs to allow kernel mode switching
i915: when kgdb is active display compression should be off
drm_fb_helper: Preserve capability to use atomic kms
kgdb,docs: Update the kgdb docs to include kms

Jesse Barnes (4):
vt,console,kdb: implement atomic console enter/leave functions
fb: add hooks to handle KDB enter/exit
drm: add KGDB/KDB support
drm/i915: use new fb debug hooks

Documentation/DocBook/kgdb.tmpl | 108 +++++++++++++++++++++++++++++++---
Documentation/kernel-parameters.txt | 9 ++-
drivers/char/vt.c | 78 ++++++++++++++++++++++++
drivers/gpu/drm/drm_fb_helper.c | 76 +++++++++++++++++++++++-
drivers/gpu/drm/i915/intel_display.c | 102 +++++++++++++++++++++++++++++++-
drivers/gpu/drm/i915/intel_fb.c | 2 +
drivers/serial/kgdboc.c | 18 ++++++
drivers/video/console/fbcon.c | 26 ++++++++
drivers/video/console/fbcon.h | 1 +
include/drm/drm_crtc_helper.h | 2 +
include/drm/drm_fb_helper.h | 5 ++
include/linux/console.h | 13 ++++
include/linux/fb.h | 13 ++++
include/linux/kdb.h | 4 +
kernel/debug/kdb/kdb_private.h | 2 -
15 files changed, 444 insertions(+), 15 deletions(-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at