drm/radeon/aux: fix hpd assignment for aux bus
Subsystems (2)
PATCH 1/1 drm/radeon/aux: fix hpd assignment for aux bus
The hpd (hot plug detect) pin assignment got lost in the conversion to to the common i2c over aux code. Without this information, aux transactions do not work properly. Fixes DP failures.
--- drivers/gpu/drm/radeon/atombios_dp.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/radeon/atombios_dp.c +1 -0
@@ -209,6 +209,7 @@ void radeon_dp_aux_init(struct radeon_connector *radeon_connector) {int ret; + radeon_connector->ddc_bus->rec.hpd = radeon_connector->hpd.hpd; radeon_connector->ddc_bus->aux.dev = radeon_connector->base.kdev; radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer; ret =drm_dp_aux_register_i2c_bus (&radeon_connector->ddc_bus->aux);
Signature · 1 line
1.7.11.7
Am 22.04.2014 08:02, schrieb Alex Deucher:
Quoted 6 lines
The hpd (hot plug detect) pin assignment got lost in the conversion to to the common i2c over aux code. Without this information, aux transactions do not work properly. Fixes DP failures.
Signed-off-by Alex Deucher <[email protected]>
Added to my 3.15 queue.
Does this also fix the issue Ed Tomlinson <[email protected]> reported about?
Christian.
Quoted 16 lines
--- drivers/gpu/drm/radeon/atombios_dp.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/radeon/atombios_dp.c +1
-0@@ -209,6 +209,7 @@ void radeon_dp_aux_init(struct radeon_connector *radeon_connector) {int ret; + radeon_connector->ddc_bus->rec.hpd = radeon_connector->hpd.hpd; radeon_connector->ddc_bus->aux.dev = radeon_connector->base.kdev; radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer; ret =drm_dp_aux_register_i2c_bus (&radeon_connector->ddc_bus->aux);
Deucher, Alexander
maintainerQuoted 13 lines
-----Original Message-----
From: Christian König [mailto:[email protected]]
Sent: Tuesday, April 22, 2014 5:17 AM
To: Alex Deucher; [email protected]
Cc: Deucher, Alexander
Subject: Re: [PATCH] drm/radeon/aux: fix hpd assignment for aux busAm 22.04.2014 08:02, schrieb Alex Deucher:
Quoted 5 lines
The hpd (hot plug detect) pin assignment got lost in the conversion to to the common i2c over aux code. Without this information, aux transactions do not work properly. Fixes DP failures.
Quoted 5 lines
Quoted 1 line
Signed-off-by Alex Deucher <[email protected]>Added to my 3.15 queue.
Does this also fix the issue Ed Tomlinson <[email protected]> reported about?
It should fix the issue Ed and Ken reported and bug:
https://bugs.freedesktop.org/show_bug.cgi?id=77751
Alex
Quoted 25 lines
Christian.
Review
Quoted 5 lines
--- drivers/gpu/drm/radeon/atombios_dp.c | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0
b/drivers/gpu/drm/radeon/atombios_dp.cdrivers/gpu/drm/radeon/atombios_dp.c void radeon_dp_aux_init(struct radeon_connector
Quoted 4 lines
index 1593652..bc0119f 100644
drivers/gpu/drm/radeon/atombios_dp.c +0
-0@@ -209,6 +209,7 @@ void radeon_dp_aux_init(struct radeon_connector
*radeon_connector)Quoted 8 lines
drivers/gpu/drm/radeon/atombios_dp.c +1
-0{int ret; + radeon_connector->ddc_bus->rec.hpd = radeon_connector- hpd.hpd; radeon_connector->ddc_bus->aux.dev = radeon_connector- base.kdev;
radeon_connector->ddc_bus->aux.transfer=
radeon_dp_aux_transfer;Quoted 2 lines
ret = drm_dp_aux_register_i2c_bus(&radeon_connector->ddc_bus-
aux);