[PATCH 0/5] atomic kernel mode setting for radeon and nouveau
Jason Wessel
jason.wessel at windriver.com
Sun Sep 26 04:47:22 PDT 2010
The goal of this patch set is to add atomic kernel mode setting hooks
for the radeon and nouveau cards for the purpose of using kdb (the
kernel debug shell).
I had talked with Jesse Barnes but did not come to a resolution on a
better way to deal with the need to save some data such as the LUT
information on entry and exit from the atomic mode set operation.
The patch set here definitely addresses this problem, but at the
expense of passing another variable to the mode_set_base_atomic()
operation.
These patches have now passed the kgdb/kdb regression tests and are
deemed stable and ready for further integration and comment with the
hope of integrating the patches upstream.
Many thanks to Chris Ball for the contribution of the radeon and
nouveau hooks, as well as the time he spent helping debug the LUT save
and restore.
Thanks,
Jason.
---
The following changes since commit 32163f4b2cef28a5aab8b226ffecfc6379a53786:
Al Viro (1):
alpha: fix usp value in multithreaded coredumps
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb.git for_dri
Chris Ball (3):
drm/radeon/kms: Implement KDB debug hooks for radeon KMS.
drm/nouveau/kms: Implement KDB debug hooks for nouveau KMS.
drm/nouveau/kms: Avoid a hang entering KDB with VT accel on.
Jason Wessel (2):
drm,kdb,kms: Add an enter argument to mode_set_base_atomic() API
radeon,kdb,kms: Save and restore the LUT on atomic KMS enter/exit
drivers/gpu/drm/drm_fb_helper.c | 5 +-
drivers/gpu/drm/i915/intel_display.c | 4 +-
drivers/gpu/drm/nouveau/nouveau_fbcon.c | 6 ++
drivers/gpu/drm/nouveau/nv04_crtc.c | 55 +++++++++++--
drivers/gpu/drm/nouveau/nv50_crtc.c | 49 ++++++++---
drivers/gpu/drm/radeon/atombios_crtc.c | 119 +++++++++++++++++++--------
drivers/gpu/drm/radeon/radeon_display.c | 32 +++++++
drivers/gpu/drm/radeon/radeon_fb.c | 2 +
drivers/gpu/drm/radeon/radeon_legacy_crtc.c | 50 +++++++++---
drivers/gpu/drm/radeon/radeon_mode.h | 13 +++-
include/drm/drm_crtc_helper.h | 3 +-
11 files changed, 265 insertions(+), 73 deletions(-)
More information about the dri-devel
mailing list