All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/kms: remove spaces from connector names
@ 2010-12-08 23:14 Alex Deucher
  2010-12-08 23:30 ` [stable] " Greg KH
  2010-12-09  0:01 ` Dave Airlie
  0 siblings, 2 replies; 14+ messages in thread
From: Alex Deucher @ 2010-12-08 23:14 UTC (permalink / raw)
  To: airlied, dri-devel; +Cc: Alex Deucher, Sergej Pupykin, stable

Grub doesn't parse spaces in parameters correctly, so
this makes it impossible to force video= parameters
for kms on the grub kernel command line.

Reported-by: Sergej Pupykin <ml@sergej.pp.ru>

Cc: Sergej Pupykin <ml@sergej.pp.ru>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
---
 drivers/gpu/drm/drm_crtc.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 6985cb1..7ee7a2f 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -156,12 +156,12 @@ static struct drm_conn_prop_enum_list drm_connector_enum_list[] =
 	{ DRM_MODE_CONNECTOR_SVIDEO, "SVIDEO", 0 },
 	{ DRM_MODE_CONNECTOR_LVDS, "LVDS", 0 },
 	{ DRM_MODE_CONNECTOR_Component, "Component", 0 },
-	{ DRM_MODE_CONNECTOR_9PinDIN, "9-pin DIN", 0 },
+	{ DRM_MODE_CONNECTOR_9PinDIN, "9-pin_DIN", 0 },
 	{ DRM_MODE_CONNECTOR_DisplayPort, "DisplayPort", 0 },
-	{ DRM_MODE_CONNECTOR_HDMIA, "HDMI Type A", 0 },
-	{ DRM_MODE_CONNECTOR_HDMIB, "HDMI Type B", 0 },
+	{ DRM_MODE_CONNECTOR_HDMIA, "HDMI_Type_A", 0 },
+	{ DRM_MODE_CONNECTOR_HDMIB, "HDMI_Type_B", 0 },
 	{ DRM_MODE_CONNECTOR_TV, "TV", 0 },
-	{ DRM_MODE_CONNECTOR_eDP, "Embedded DisplayPort", 0 },
+	{ DRM_MODE_CONNECTOR_eDP, "Embedded_DisplayPort", 0 },
 };
 
 static struct drm_prop_enum_list drm_encoder_enum_list[] =
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-12-13 11:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-08 23:14 [PATCH] drm/kms: remove spaces from connector names Alex Deucher
2010-12-08 23:30 ` [stable] " Greg KH
2010-12-08 23:32   ` Dave Airlie
2010-12-09 17:18   ` Jesse Barnes
2010-12-09 17:33     ` Sergej Pupykin
2010-12-09 17:46       ` Jesse Barnes
2010-12-09 22:15         ` [stable] " Peter Stuge
2010-12-10 12:24     ` Sergej Pupykin
2010-12-10 18:05       ` Peter Stuge
2010-12-13 10:43         ` [stable] " Sergej Pupykin
2010-12-13 11:31           ` Sergej Pupykin
2010-12-09  0:01 ` Dave Airlie
2010-12-09  0:04   ` Alex Deucher
2010-12-09  0:09   ` [PATCH] drm/kms: remove spaces from connector names (v2) Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.