+ nvidiafb-enable-debugging-messages-a-kconfig-option.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     nvidiafb: Enable debugging messages a Kconfig option
has been added to the -mm tree.  Its filename is
     nvidiafb-enable-debugging-messages-a-kconfig-option.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: nvidiafb: Enable debugging messages a Kconfig option
From: Jean Delvare <khali@xxxxxxxxxxxx>

Let the user enable debugging messages in nvidiafb.

Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
Signed-off-by: Antonino Daplas <adaplas@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/video/Kconfig         |   11 ++++++++++-
 drivers/video/nvidia/nvidia.c |    1 -
 2 files changed, 10 insertions(+), 2 deletions(-)

diff -puN drivers/video/Kconfig~nvidiafb-enable-debugging-messages-a-kconfig-option drivers/video/Kconfig
--- a/drivers/video/Kconfig~nvidiafb-enable-debugging-messages-a-kconfig-option
+++ a/drivers/video/Kconfig
@@ -795,6 +795,15 @@ config FB_NVIDIA_I2C
 	  independently validate video mode parameters, you should say Y
 	  here.
 
+config FB_NVIDIA_DEBUG
+	bool "Lots of debug output"
+	depends on FB_NVIDIA
+	default n
+	help
+	  Say Y here if you want the nVidia driver to output all sorts
+	  of debugging information to provide to the maintainer when
+	  something goes wrong.
+
 config FB_NVIDIA_BACKLIGHT
 	bool "Support for backlight control"
 	depends on FB_NVIDIA
@@ -834,7 +843,7 @@ config FB_RIVA_I2C
 	  here.
 
 config FB_RIVA_DEBUG
-	bool "Lots of debug output from Riva(nVidia) driver"
+	bool "Lots of debug output"
 	depends on FB_RIVA
 	default n
 	help
diff -puN drivers/video/nvidia/nvidia.c~nvidiafb-enable-debugging-messages-a-kconfig-option drivers/video/nvidia/nvidia.c
--- a/drivers/video/nvidia/nvidia.c~nvidiafb-enable-debugging-messages-a-kconfig-option
+++ a/drivers/video/nvidia/nvidia.c
@@ -37,7 +37,6 @@
 #include "nv_proto.h"
 #include "nv_dma.h"
 
-#undef CONFIG_FB_NVIDIA_DEBUG
 #ifdef CONFIG_FB_NVIDIA_DEBUG
 #define NVTRACE          printk
 #else
_

Patches currently in -mm which might be from khali@xxxxxxxxxxxx are

origin.patch
fix-i2c-pxa-build.patch
git-alsa.patch
git-dvb.patch
fix-jdelvare-i2c-i2c-at91-support-new-style-binding.patch
rivafb-fix-i2c-getscl-callback-function.patch
nvidiafb-enable-debugging-messages-a-kconfig-option.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux