drm/radeon: don't mess with hot plug detect for eDP or LVDS connector
Subsystems (2)
PATCH 1/1 drm/radeon: don't mess with hot plug detect for eDP or LVDS connector
From: Jerome Glisse <[email protected]>
It seems imac pannel doesn't like whe we change the hot plug setup and then refuse to work. This should fix :
https://bugzilla.redhat.com/show_bug.cgi?id=726143
--- drivers/gpu/drm/radeon/r600.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
drivers/gpu/drm/radeon/r600.c +8 -0
@@ -713,6 +713,14 @@ void r600_hpd_init(struct radeon_device *rdev)list_for_each_entry (connector, &dev->mode_config.connector_list, head) {struct radeon_connector *radeon_connector =to_radeon_connector (connector); +if (connector->connector_type == DRM_MODE_CONNECTOR_eDP || + connector->connector_type ==DRM_MODE_CONNECTOR_LVDS ) { +/* don't try to enable HDP on eDP or LVDS help to avoid +* issue such as: +* https://bugzilla.redhat.com/show_bug.cgi?id=726143 +*/ +continue ; + }if (ASIC_IS_DCE3 (rdev)) {u32 tmp =DC_HPDx_CONNECTION_TIMER (0x9c4 ) |DC_HPDx_RX_INT_TIMER (0xfa );if (ASIC_IS_DCE32 (rdev))
Signature · 1 line
1.7.7.6
Quoted 8 lines · On Fre, 2012-05-04 at 10:28 -0400, [email protected] wrote:
From: Jerome Glisse <[email protected]>
It seems imac pannel doesn't like whe we change the hot plug setup and then refuse to work. This should fix :
https://bugzilla.redhat.com/show_bug.cgi?id=726143Signed-off-by Matthew Garrett <[email protected]>Signed-off-by Jerome Glisse <[email protected]>
[...]
drivers/gpu/drm/radeon/r600.c void r600_hpd_init(struct radeon_device *rdev) · line 718
Quoted 3 lines
drivers/gpu/drm/radeon/r600.c +3
-0+if (connector->connector_type == DRM_MODE_CONNECTOR_eDP || + connector->connector_type ==DRM_MODE_CONNECTOR_LVDS ) { +/* don't try to enable HDP on eDP or LVDS help to avoid
I think this should say 'HPD', not 'HDP'.
Signature · 6 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 7 lines · Michel Dänzer
Quoted 6 lines · On Fre, 2012-05-04 at 10:28 -0400, [email protected] wrote:
From: Jerome Glisse <[email protected]>
It seems imac pannel doesn't like whe we change the hot plug setup and then refuse to work. This should fix :
https://bugzilla.redhat.com/show_bug.cgi?id=726143
Quoted 8 lines
Quoted 2 lines
Signed-off-by Matthew Garrett <[email protected]>Signed-off-by Jerome Glisse <[email protected]>[...]
Quoted 3 lines
+ if (
connector->connector_type==DRM_MODE_CONNECTOR_eDP||
+connector->connector_type==DRM_MODE_CONNECTOR_LVDS) {
+ /* don't try to enable HDP on eDP or LVDS help to avoidI think this should say 'HPD', not 'HDP'.
It should :) v2 on its way
Quoted 4 lines
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer