[PATCH 2/2] radeon: add support for forcing off lvds when mux switched away

2013-01-10 Thread Dave Airlie
On Thu, Jan 10, 2013 at 12:16 AM, Alex Deucher wrote: > On Mon, Jan 7, 2013 at 11:53 PM, Dave Airlie wrote: >> From: Dave Airlie >> >> otherwise userspace can get very confused > > > Thinking about this more, we probably want to check whether we have a > muxed to mux-less system otherwise we'll

Re: [PATCH 2/2] radeon: add support for forcing off lvds when mux switched away

2013-01-09 Thread Dave Airlie
On Thu, Jan 10, 2013 at 12:16 AM, Alex Deucher wrote: > On Mon, Jan 7, 2013 at 11:53 PM, Dave Airlie wrote: >> From: Dave Airlie >> >> otherwise userspace can get very confused > > > Thinking about this more, we probably want to check whether we have a > muxed to mux-less system otherwise we'll

[PATCH 2/2] radeon: add support for forcing off lvds when mux switched away

2013-01-09 Thread Alex Deucher
On Mon, Jan 7, 2013 at 11:53 PM, Dave Airlie wrote: > From: Dave Airlie > > otherwise userspace can get very confused Thinking about this more, we probably want to check whether we have a muxed to mux-less system otherwise we'll be disconnecting the display when we switch. Looks like the first

Re: [PATCH 2/2] radeon: add support for forcing off lvds when mux switched away

2013-01-09 Thread Alex Deucher
On Mon, Jan 7, 2013 at 11:53 PM, Dave Airlie wrote: > From: Dave Airlie > > otherwise userspace can get very confused Thinking about this more, we probably want to check whether we have a muxed to mux-less system otherwise we'll be disconnecting the display when we switch. Looks like the first

[PATCH 2/2] radeon: add support for forcing off lvds when mux switched away

2013-01-08 Thread Dave Airlie
From: Dave Airlie otherwise userspace can get very confused --- drivers/gpu/drm/radeon/radeon_connectors.c | 4 drivers/gpu/drm/radeon/radeon_device.c | 14 ++ drivers/gpu/drm/radeon/radeon_mode.h | 2 ++ 3 files changed, 20 insertions(+) diff --git a/drivers/gpu/dr

[PATCH 2/2] radeon: add support for forcing off lvds when mux switched away

2013-01-08 Thread Alex Deucher
On Mon, Jan 7, 2013 at 11:53 PM, Dave Airlie wrote: > From: Dave Airlie > > otherwise userspace can get very confused It might be worth adding the switch state checks to the dp_detect function to handle eDP and DP to LVDS bridges, but I think all the laptops with eDP or DP bridges are mux-less,

Re: [PATCH 2/2] radeon: add support for forcing off lvds when mux switched away

2013-01-08 Thread Alex Deucher
On Mon, Jan 7, 2013 at 11:53 PM, Dave Airlie wrote: > From: Dave Airlie > > otherwise userspace can get very confused It might be worth adding the switch state checks to the dp_detect function to handle eDP and DP to LVDS bridges, but I think all the laptops with eDP or DP bridges are mux-less,

[PATCH 2/2] radeon: add support for forcing off lvds when mux switched away

2013-01-07 Thread Dave Airlie
From: Dave Airlie otherwise userspace can get very confused --- drivers/gpu/drm/radeon/radeon_connectors.c | 4 drivers/gpu/drm/radeon/radeon_device.c | 14 ++ drivers/gpu/drm/radeon/radeon_mode.h | 2 ++ 3 files changed, 20 insertions(+) diff --git a/drivers/gpu/dr