[PATCH] Documentation: kernel-parameters.txt Add drm_kms_helper.poll

2012-10-04 Thread mika.kuopp...@intel.com
From: Mika Kuoppala 

Add description for drm_kms_helper.poll module parameter introduced
by commit: e58f637bb96d5a0ae0919b9998b891d1ba7e47c9

Signed-off-by: Mika Kuoppala 
---
 Documentation/kernel-parameters.txt |   11 +++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/kernel-parameters.txt 
b/Documentation/kernel-parameters.txt
index f777fa9..ad97749 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -741,6 +741,17 @@ bytes respectively. Such letter suffixes can also be 
entirely omitted.
if its name and a colon are prepended to the EDID
name.

+   drm_kms_helper.poll=
+   Polling for connected VGA devices on older systems
+   can be quite expensive, causing latencies of
+   several hundred milliseconds. This will cause visible
+   stalls, for example in video playback. If you
+   experience stalls in display output occurring every
+   10 seconds (DRM_OUTPUT_POLL_PERIOD=(10*HZ)), disabling
+   polling might help.
+   Format:   (1/Y/y=enable, 0/N/n=disable)
+   default: enabled
+
dscc4.setup=[NET]

dyndbg[="val"]  [KNL,DYNAMIC_DEBUG]
-- 
1.7.9.5



[PATCH v2] Documentation: kernel-parameters.txt Add drm_kms_helper.poll

2012-10-09 Thread mika.kuopp...@intel.com
From: Mika Kuoppala 

Possibility to disable polling to find connected displays was
introduced by commit [1]:

commit e58f637bb96d5a0ae0919b9998b891d1ba7e47c9
Author: Chris Wilson 
Date:   Fri Aug 20 09:13:36 2010 +0100

drm/kms: Add a module parameter to disable polling

Add description for this parameter to kernel-parameters.txt

[1] 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=e58f637bb96d5a0ae0919b9998b891d1ba7e47c9

Signed-off-by: Mika Kuoppala 
---
 Documentation/kernel-parameters.txt |   16 
 1 file changed, 16 insertions(+)

diff --git a/Documentation/kernel-parameters.txt 
b/Documentation/kernel-parameters.txt
index f777fa9..0f0f071 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -741,6 +741,22 @@ bytes respectively. Such letter suffixes can also be 
entirely omitted.
if its name and a colon are prepended to the EDID
name.

+   drm_kms_helper.poll=
+   Polling for connected display devices on older systems
+   without Hot Plug Detect (HPD) support, can be quite
+   expensive. Poll will happen periodically and can in
+   worst cases take several hundred milliseconds,
+   depending on the hardware. This will cause visible
+   stalls, for example in video playback. These stalls
+   might happen even when your video is on HDP output
+   but you have other non HDP outputs in your hw
+   configuration. If you experience stalls in display
+   output occurring every 10 seconds, disabling polling
+   might help. With polling disabled you need to manually
+   use xrandr to trigger detection.
+   Format:   (1/Y/y=enable, 0/N/n=disable)
+   default: enabled
+
dscc4.setup=[NET]

dyndbg[="val"]  [KNL,DYNAMIC_DEBUG]
-- 
1.7.9.5



[PATCH] drm: Fix kdoc comment for drm_crtc_convert_umode

2012-10-09 Thread mika.kuopp...@intel.com
From: Mika Kuoppala 

Signed-off-by: Mika Kuoppala 
---
 drivers/gpu/drm/drm_crtc.c |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index ef1b221..bb4c686 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -1148,9 +1148,9 @@ static void drm_crtc_convert_to_umode(struct 
drm_mode_modeinfo *out,
 }

 /**
- * drm_crtc_convert_to_umode - convert a modeinfo into a drm_display_mode
- * @out: drm_display_mode to return to the user
- * @in: drm_mode_modeinfo to use
+ * drm_crtc_convert_umode - convert a modeinfo into a drm_display_mode
+ * @out: drm_display_mode to return to the caller
+ * @in: drm_mode_modeinfo from user
  *
  * LOCKING:
  * None.
-- 
1.7.9.5