[PATCH 3/3] drm, kdb, kms: Change mode_set_base_atomic() enter argument to be an enum

2010-10-13 Thread Jason Wessel
Signed-off-by: Jason Wessel CC: David Airlie CC: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/drm_fb_helper.c |5 ++--- drivers/gpu/drm/i915/intel_display.c|5 +++-- drivers/gpu/drm/nouveau/nv04_crtc.c |4 ++-- drivers/gpu/drm/nouveau/nv50_crtc.c

[PATCH 2/3] kdb, kms: Save and restore the LUT on atomic KMS enter/exit

2010-10-13 Thread Jason Wessel
happened. There is a short cut used by this patch where gamma_store is used as the save space. If this turns out to be a problem in the future a pre-allocated chunk of memory will be required for each crtc to save and restore the LUT information. Signed-off-by: Jason Wessel CC: Jesse Barnes CC

[PATCH 1/3] Revert "radeon, kdb, kms: Save and restore the LUT on atomic KMS enter/exit"

2010-10-13 Thread Jason Wessel
This reverts commit ff773714dd30b802c336064109c535d8b2774e2f. A generic solution is needed to save and retore the LUT information. CC: Jesse Barnes CC: David Airlie CC: dri-devel at lists.freedesktop.org Signed-off-by: Jason Wessel --- drivers/gpu/drm/radeon/radeon_display.c | 32

[PATCH 0/3] atomic kernel mode setting fixups for drm-core-next

2010-10-13 Thread Jason Wessel
26bf62e47261142d528a6109fdd671a2e280b4ea: Dave Airlie (1): Merge branch 'drm-radeon-next' of ../drm-radeon-next into drm-core-next -- Jason Wessel (3): Revert "radeon, kdb, kms: Save and restore the LUT on atomic KMS enter/exit" kdb,kms: Save and restore the LUT on a

[PATCH 3/3] drm, kdb, kms: Change mode_set_base_atomic() enter argument to be an enum

2010-10-13 Thread Jason Wessel
Signed-off-by: Jason Wessel CC: David Airlie CC: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/drm_fb_helper.c |5 ++--- drivers/gpu/drm/i915/intel_display.c|5 +++-- drivers/gpu/drm/nouveau/nv04_crtc.c |4 ++-- drivers/gpu/drm/nouveau/nv50_crtc.c

[PATCH 2/3] kdb, kms: Save and restore the LUT on atomic KMS enter/exit

2010-10-13 Thread Jason Wessel
happened. There is a short cut used by this patch where gamma_store is used as the save space. If this turns out to be a problem in the future a pre-allocated chunk of memory will be required for each crtc to save and restore the LUT information. Signed-off-by: Jason Wessel CC: Jesse Barnes CC

[PATCH 0/3] atomic kernel mode setting fixups for drm-core-next

2010-10-13 Thread Jason Wessel
26bf62e47261142d528a6109fdd671a2e280b4ea: Dave Airlie (1): Merge branch 'drm-radeon-next' of ../drm-radeon-next into drm-core-next -- Jason Wessel (3): Revert "radeon, kdb, kms: Save and restore the LUT on atomic KMS enter/exit" kdb,kms: Save and restore the LUT on a

[PATCH 1/3] Revert "radeon, kdb, kms: Save and restore the LUT on atomic KMS enter/exit"

2010-10-13 Thread Jason Wessel
This reverts commit ff773714dd30b802c336064109c535d8b2774e2f. A generic solution is needed to save and retore the LUT information. CC: Jesse Barnes CC: David Airlie CC: dri-devel@lists.freedesktop.org Signed-off-by: Jason Wessel --- drivers/gpu/drm/radeon/radeon_display.c | 32

[PATCH 5/5] drm/nouveau/kms: Avoid a hang entering KDB with VT accel on.

2010-10-12 Thread Jason Wessel
From: Chris Ball Francisco Jerez advises that pre-nv20 cards would hang if we entered kdb with accel on and IRQs disabled, so we now disable accel before entering kdb and re-enable it on the way back out. Reported-by: Francisco Jerez Signed-off-by: Chris Ball Signed-off-by: Jason Wessel

[PATCH 4/5] kdb, kms: Save and restore the LUT on atomic KMS enter/exit

2010-10-12 Thread Jason Wessel
happened. There is a short cut used by this patch where gamma_store is used as the save space. If this turns out to be a problem in the future a pre-allocated chunk of memory will be required for each crtc to save and restore the LUT information. Signed-off-by: Jason Wessel CC: Jesse Barnes CC

[PATCH 3/5] drm, kdb, kms: Add an enter argument to mode_set_base_atomic() API

2010-10-12 Thread Jason Wessel
kernel mode set change. Individual drm drivers can properly save and restore state accordingly. Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/drm_fb_helper.c |5 +++-- drivers/gpu/drm/i915/intel_display.c

[PATCH 2/5] drm/nouveau/kms: Implement KDB debug hooks for nouveau KMS.

2010-10-12 Thread Jason Wessel
From: Chris Ball Tested on nv50 and nv04 HW. Signed-off-by: Chris Ball Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/nouveau/nouveau_fbcon.c |6 drivers/gpu/drm/nouveau/nv04_crtc.c | 45

[PATCH 1/5] drm/radeon/kms: Implement KDB debug hooks for radeon KMS.

2010-10-12 Thread Jason Wessel
From: Chris Ball Signed-off-by: Chris Ball Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/radeon/atombios_crtc.c | 117 +++ drivers/gpu/drm/radeon/radeon_fb.c |2 + drivers

[PATCH 0/5] V3 - atomic kernel mode setting for radeon, nouveau, plus fixes

2010-10-12 Thread Jason Wessel
ms: 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 kdb,kms: Save and restore the LUT on atomic KMS enter/exit drivers/gpu/drm/dr

[PATCH 5/5] drm/nouveau/kms: Avoid a hang entering KDB with VT accel on.

2010-10-12 Thread Jason Wessel
From: Chris Ball Francisco Jerez advises that pre-nv20 cards would hang if we entered kdb with accel on and IRQs disabled, so we now disable accel before entering kdb and re-enable it on the way back out. Reported-by: Francisco Jerez Signed-off-by: Chris Ball Signed-off-by: Jason Wessel

[PATCH 2/5] drm/nouveau/kms: Implement KDB debug hooks for nouveau KMS.

2010-10-12 Thread Jason Wessel
From: Chris Ball Tested on nv50 and nv04 HW. Signed-off-by: Chris Ball Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/nouveau/nouveau_fbcon.c |6 drivers/gpu/drm/nouveau/nv04_crtc.c | 45

[PATCH 1/5] drm/radeon/kms: Implement KDB debug hooks for radeon KMS.

2010-10-12 Thread Jason Wessel
From: Chris Ball Signed-off-by: Chris Ball Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/radeon/atombios_crtc.c | 117 +++ drivers/gpu/drm/radeon/radeon_fb.c |2 + drivers/gpu

[PATCH 0/5] V3 - atomic kernel mode setting for radeon, nouveau, plus fixes

2010-10-12 Thread Jason Wessel
ms: 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 kdb,kms: Save and restore the LUT on atomic KMS enter/exit drivers/gpu/drm/dr

[PATCH 3/5] drm, kdb, kms: Add an enter argument to mode_set_base_atomic() API

2010-10-12 Thread Jason Wessel
kernel mode set change. Individual drm drivers can properly save and restore state accordingly. Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/drm_fb_helper.c |5 +++-- drivers/gpu/drm/i915/intel_display.c

[PATCH 4/5] kdb, kms: Save and restore the LUT on atomic KMS enter/exit

2010-10-12 Thread Jason Wessel
happened. There is a short cut used by this patch where gamma_store is used as the save space. If this turns out to be a problem in the future a pre-allocated chunk of memory will be required for each crtc to save and restore the LUT information. Signed-off-by: Jason Wessel CC: Jesse Barnes CC

[PATCH 3/5] drm, kdb, kms: Add an enter argument to mode_set_base_atomic() API

2010-10-12 Thread Jason Wessel
On 10/12/2010 10:38 AM, Jesse Barnes wrote: > On Tue, 12 Oct 2010 07:49:59 -0500 > Jason Wessel wrote: > > >> Some devices such as the pre nv02 chips have enter and exit >> constraints where hardware compression must be turned off and >> re-enabled on resuming

Re: [PATCH 3/5] drm, kdb, kms: Add an enter argument to mode_set_base_atomic() API

2010-10-12 Thread Jason Wessel
On 10/12/2010 10:38 AM, Jesse Barnes wrote: > On Tue, 12 Oct 2010 07:49:59 -0500 > Jason Wessel wrote: > > >> Some devices such as the pre nv02 chips have enter and exit >> constraints where hardware compression must be turned off and >> re-enabled on resuming

[PATCH 5/5] drm/nouveau/kms: Avoid a hang entering KDB with VT accel on.

2010-10-12 Thread Jason Wessel
From: Chris Ball Francisco Jerez advises that pre-nv20 cards would hang if we entered kdb with accel on and IRQs disabled, so we now disable accel before entering kdb and re-enable it on the way back out. Reported-by: Francisco Jerez Signed-off-by: Chris Ball Signed-off-by: Jason Wessel

[PATCH 1/5] drm/radeon/kms: Implement KDB debug hooks for radeon KMS.

2010-10-12 Thread Jason Wessel
From: Chris Ball Signed-off-by: Chris Ball Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/radeon/atombios_crtc.c | 117 +++ drivers/gpu/drm/radeon/radeon_fb.c |2 + drivers/gpu

[PATCH 2/5] drm/nouveau/kms: Implement KDB debug hooks for nouveau KMS.

2010-10-12 Thread Jason Wessel
From: Chris Ball Tested on nv50 and nv04 HW. Signed-off-by: Chris Ball Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/nouveau/nouveau_fbcon.c |6 drivers/gpu/drm/nouveau/nv04_crtc.c | 45

[PATCH 4/5] kdb, kms: Save and restore the LUT on atomic KMS enter/exit

2010-10-12 Thread Jason Wessel
happened. There is a short cut used by this patch where gamma_store is used as the save space. If this turns out to be a problem in the future a pre-allocated chunk of memory will be required for each crtc to save and restore the LUT information. Signed-off-by: Jason Wessel CC: Jesse Barnes CC

[PATCH 0/5] V2 - atomic kernel mode setting for radeon, nouveau, plus fixes

2010-10-12 Thread Jason Wessel
or 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 kdb,kms: Save and restore the LUT on atomic KMS enter/exit drivers/gpu/drm/drm_fb_helper.c | 37 - d

[PATCH 3/5] drm, kdb, kms: Add an enter argument to mode_set_base_atomic() API

2010-10-12 Thread Jason Wessel
kernel mode set change. Individual drm drivers can properly save and restore state accordingly. Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/drm_fb_helper.c |5 +++-- drivers/gpu/drm/i915/intel_display.c

[PATCH 5/5] drm/nouveau/kms: Avoid a hang entering KDB with VT accel on.

2010-10-12 Thread Jason Wessel
From: Chris Ball Francisco Jerez advises that pre-nv20 cards would hang if we entered kdb with accel on and IRQs disabled, so we now disable accel before entering kdb and re-enable it on the way back out. Reported-by: Francisco Jerez Signed-off-by: Chris Ball Signed-off-by: Jason Wessel

[PATCH 4/5] kdb, kms: Save and restore the LUT on atomic KMS enter/exit

2010-10-12 Thread Jason Wessel
happened. There is a short cut used by this patch where gamma_store is used as the save space. If this turns out to be a problem in the future a pre-allocated chunk of memory will be required for each crtc to save and restore the LUT information. Signed-off-by: Jason Wessel CC: Jesse Barnes CC

[PATCH 3/5] drm, kdb, kms: Add an enter argument to mode_set_base_atomic() API

2010-10-12 Thread Jason Wessel
kernel mode set change. Individual drm drivers can properly save and restore state accordingly. Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/drm_fb_helper.c |5 +++-- drivers/gpu/drm/i915/intel_display.c

[PATCH 2/5] drm/nouveau/kms: Implement KDB debug hooks for nouveau KMS.

2010-10-12 Thread Jason Wessel
From: Chris Ball Tested on nv50 and nv04 HW. Signed-off-by: Chris Ball Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/nouveau/nouveau_fbcon.c |6 drivers/gpu/drm/nouveau/nv04_crtc.c | 45

[PATCH 1/5] drm/radeon/kms: Implement KDB debug hooks for radeon KMS.

2010-10-12 Thread Jason Wessel
From: Chris Ball Signed-off-by: Chris Ball Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/radeon/atombios_crtc.c | 117 +++ drivers/gpu/drm/radeon/radeon_fb.c |2 + drivers

[PATCH 0/5] V2 - atomic kernel mode setting for radeon, nouveau, plus fixes

2010-10-12 Thread Jason Wessel
or 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 kdb,kms: Save and restore the LUT on atomic KMS enter/exit drivers/gpu/drm/drm_fb_helper.c | 37 - d

Re: Any SYSRQ key to force mode switch to console mode when using KMS?

2010-10-06 Thread Jason Wessel
On 09/24/2010 10:07 AM, Randy Dunlap wrote: > On Thu, 23 Sep 2010 18:31:32 +0200 Uwe Bonnes wrote: > > [just adding cc's] > > >>> "Randy" == Randy Dunlap writes: >>> >> Randy> Is CONFIG_DRM_KMS_HELPER enabled in your kernel .config file? If >> Randy> not, we need

Any SYSRQ key to force mode switch to console mode when using KMS?

2010-10-06 Thread Jason Wessel
On 09/24/2010 10:07 AM, Randy Dunlap wrote: > On Thu, 23 Sep 2010 18:31:32 +0200 Uwe Bonnes wrote: > > [just adding cc's] > > >>> "Randy" == Randy Dunlap writes: >>> >> Randy> Is CONFIG_DRM_KMS_HELPER enabled in your kernel .config file? If >> Randy> not, we need

[PATCH 1/5] drm/radeon/kms: Implement KDB debug hooks for radeon KMS.

2010-09-26 Thread Jason Wessel
From: Chris Ball Signed-off-by: Chris Ball Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/radeon/atombios_crtc.c | 119 +++ drivers/gpu/drm/radeon/radeon_fb.c |2 + drivers/gpu

[PATCH 2/5] drm/nouveau/kms: Implement KDB debug hooks for nouveau KMS.

2010-09-26 Thread Jason Wessel
From: Chris Ball Tested on nv50 and nv04 HW. Signed-off-by: Chris Ball Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/nouveau/nouveau_fbcon.c |6 drivers/gpu/drm/nouveau/nv04_crtc.c | 46

[PATCH 3/5] drm, kdb, kms: Add an enter argument to mode_set_base_atomic() API

2010-09-26 Thread Jason Wessel
if this is an entry or an exit from an atomic kernel mode set change. Individual drm drivers can properly save and restore state accordingly. Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/drm_fb_helper.c

[PATCH 4/5] radeon, kdb, kms: Save and restore the LUT on atomic KMS enter/exit

2010-09-26 Thread Jason Wessel
happened. Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/radeon/radeon_display.c | 32 +++ drivers/gpu/drm/radeon/radeon_legacy_crtc.c |5 drivers/gpu/drm/radeon/radeon_mode.h

[PATCH 0/5] atomic kernel mode setting for radeon and nouveau

2010-09-26 Thread Jason Wessel
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

[PATCH 5/5] drm/nouveau/kms: Avoid a hang entering KDB with VT accel on.

2010-09-26 Thread Jason Wessel
From: Chris Ball Francisco Jerez advises that pre-nv20 cards would hang if we entered kdb with accel on and IRQs disabled, so we now disable accel before entering kdb and re-enable it on the way back out. Reported-by: Francisco Jerez Signed-off-by: Chris Ball Signed-off-by: Jason Wessel

[PATCH 5/5] drm/nouveau/kms: Avoid a hang entering KDB with VT accel on.

2010-09-26 Thread Jason Wessel
From: Chris Ball Francisco Jerez advises that pre-nv20 cards would hang if we entered kdb with accel on and IRQs disabled, so we now disable accel before entering kdb and re-enable it on the way back out. Reported-by: Francisco Jerez Signed-off-by: Chris Ball Signed-off-by: Jason Wessel

[PATCH 4/5] radeon, kdb, kms: Save and restore the LUT on atomic KMS enter/exit

2010-09-26 Thread Jason Wessel
happened. Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/radeon/radeon_display.c | 32 +++ drivers/gpu/drm/radeon/radeon_legacy_crtc.c |5 drivers/gpu/drm/radeon/radeon_mode.h

[PATCH 3/5] drm, kdb, kms: Add an enter argument to mode_set_base_atomic() API

2010-09-26 Thread Jason Wessel
if this is an entry or an exit from an atomic kernel mode set change. Individual drm drivers can properly save and restore state accordingly. Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/drm_fb_helper.c

[PATCH 2/5] drm/nouveau/kms: Implement KDB debug hooks for nouveau KMS.

2010-09-26 Thread Jason Wessel
From: Chris Ball Tested on nv50 and nv04 HW. Signed-off-by: Chris Ball Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/nouveau/nouveau_fbcon.c |6 drivers/gpu/drm/nouveau/nv04_crtc.c | 46

[PATCH 1/5] drm/radeon/kms: Implement KDB debug hooks for radeon KMS.

2010-09-26 Thread Jason Wessel
From: Chris Ball Signed-off-by: Chris Ball Signed-off-by: Jason Wessel CC: Jesse Barnes CC: David Airlie CC: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/radeon/atombios_crtc.c | 119 +++ drivers/gpu/drm/radeon/radeon_fb.c |2 + drivers

[PATCH 0/5] atomic kernel mode setting for radeon and nouveau

2010-09-26 Thread Jason Wessel
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