* [PATCH] drm/radeon: don't mess with hot plug detect for eDP or LVDS connector
@ 2012-05-04 14:28 j.glisse
2012-05-04 14:44 ` Michel Dänzer
0 siblings, 1 reply; 3+ messages in thread
From: j.glisse @ 2012-05-04 14:28 UTC (permalink / raw)
To: dri-devel; +Cc: Jerome Glisse, Matthew Garrett
From: Jerome Glisse <jglisse@redhat.com>
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
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
---
drivers/gpu/drm/radeon/r600.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
index 4fbc590..5fd0490 100644
--- a/drivers/gpu/drm/radeon/r600.c
+++ b/drivers/gpu/drm/radeon/r600.c
@@ -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))
--
1.7.7.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/radeon: don't mess with hot plug detect for eDP or LVDS connector
2012-05-04 14:28 [PATCH] drm/radeon: don't mess with hot plug detect for eDP or LVDS connector j.glisse
@ 2012-05-04 14:44 ` Michel Dänzer
2012-05-04 15:01 ` Jerome Glisse
0 siblings, 1 reply; 3+ messages in thread
From: Michel Dänzer @ 2012-05-04 14:44 UTC (permalink / raw)
To: j.glisse; +Cc: dri-devel, Matthew Garrett
On Fre, 2012-05-04 at 10:28 -0400, j.glisse@gmail.com wrote:
> From: Jerome Glisse <jglisse@redhat.com>
>
> 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
>
> Signed-off-by: Matthew Garrett <mjg@redhat.com>
> Signed-off-by: Jerome Glisse <jglisse@redhat.com>
[...]
> + 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'.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/radeon: don't mess with hot plug detect for eDP or LVDS connector
2012-05-04 14:44 ` Michel Dänzer
@ 2012-05-04 15:01 ` Jerome Glisse
0 siblings, 0 replies; 3+ messages in thread
From: Jerome Glisse @ 2012-05-04 15:01 UTC (permalink / raw)
To: Michel Dänzer; +Cc: dri-devel, Matthew Garrett
On Fri, May 4, 2012 at 10:44 AM, Michel Dänzer <michel@daenzer.net> wrote:
> On Fre, 2012-05-04 at 10:28 -0400, j.glisse@gmail.com wrote:
>> From: Jerome Glisse <jglisse@redhat.com>
>>
>> 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
>>
>> Signed-off-by: Matthew Garrett <mjg@redhat.com>
>> Signed-off-by: Jerome Glisse <jglisse@redhat.com>
> [...]
>> + 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'.
It should :) v2 on its way
>
> --
> Earthling Michel Dänzer | http://www.amd.com
> Libre software enthusiast | Debian, X and DRI developer
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-04 15:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-04 14:28 [PATCH] drm/radeon: don't mess with hot plug detect for eDP or LVDS connector j.glisse
2012-05-04 14:44 ` Michel Dänzer
2012-05-04 15:01 ` Jerome Glisse
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.