Summary: | Monitor goes black when starting TV | ||
---|---|---|---|
Product: | DRI | Reporter: | Gustav Näslund <gonaslund> |
Component: | DRM/Radeon | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | leann.ogasawara |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
See Also: | https://launchpad.net/bugs/860868 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Gustav Näslund
2011-09-27 02:26:51 UTC
I have also filed this bug @ launchpad and we have found the problematic patches Just adding relevant information here. Gustav has tested and confirmed that reverting the following two patches resolves the issue: commit d5811e8731213f80c80d89e980505052f16aca1c Author: Alex Deucher <alexander.deucher@amd.com> Date: Sat Aug 13 13:36:13 2011 -0400 drm/radeon/kms: don't try to be smart in the hpd handler commit 73104b5cfe3067d68f2c2de3f3d4d4964c55873e Author: Alex Deucher <alexander.deucher@amd.com> Date: Tue Aug 9 17:09:06 2011 +0000 drm/radeon/kms: don't enable connectors that are off in the hotplug handler Gustav has also tested and confirmed the issue remains in the latest v3.1-rc8 upstream kernel. I don't have access to source code at the moment, but the following change should fix the issue. I'll make a proper patch in the next few days. The existing code has a logic error; we should only disable an output in the hotplug handler if the monitor is physically disconnected. Replace this code in radeon_connector_hotplug() in radeon_connectors.c: if (radeon_hpd_sense(rdev, radeon_connector->hpd.hpd) && radeon_dp_needs_link_train(radeon_connector)) drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON); else drm_helper_connector_dpms(connector, DRM_MODE_DPMS_OFF); with: if (!radeon_hpd_sense(rdev, radeon_connector->hpd.hpd)) drm_helper_connector_dpms(connector, DRM_MODE_DPMS_OFF); else if (radeon_dp_needs_link_train(radeon_connector)) drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON); Thanks Alex. Gustav, I've built an Ubuntu test kernel with the changes Alex noted in comment #3. I've placed the patch and test kernel at the following location. Please test and let us know your results. http://people.canonical.com/~ogasawara/lp860868/v7/ Success! it works as it should I've sent the patch upstream: http://lists.freedesktop.org/archives/dri-devel/2011-October/014882.html A patch referencing this bug report has been merged in Linux v3.1-rc9: commit 5ba7ddf81634bfdf32d09261d2959e3f5b7c4263 Author: Alex Deucher <alexander.deucher@amd.com> Date: Mon Oct 3 08:37:33 2011 -0400 drm/radeon/kms: Fix logic error in DP HPD handler Yes, that's correct and i have tried the kernel v3.1-rc9 and this bug that occured for me was fixed with it. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.