All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/radeon/dp: check for errors in dpcd reads
@ 2014-04-30 13:27 Alex Deucher
  2014-04-30 13:58 ` Christian König
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Deucher @ 2014-04-30 13:27 UTC (permalink / raw)
  To: dri-devel, deathsimple; +Cc: Alex Deucher, saproj

Check to make sure the transaction succeeded before
using the register value.  Fixes occasional link training
problems.

Noticed-by: Sergei Antonov <saproj@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/radeon/atombios_dp.c | 44 ++++++++++++++++++++----------------
 1 file changed, 25 insertions(+), 19 deletions(-)

diff --git a/drivers/gpu/drm/radeon/atombios_dp.c b/drivers/gpu/drm/radeon/atombios_dp.c
index bc0119f..54e4f52 100644
--- a/drivers/gpu/drm/radeon/atombios_dp.c
+++ b/drivers/gpu/drm/radeon/atombios_dp.c
@@ -366,11 +366,11 @@ static void radeon_dp_probe_oui(struct radeon_connector *radeon_connector)
 	if (!(dig_connector->dpcd[DP_DOWN_STREAM_PORT_COUNT] & DP_OUI_SUPPORT))
 		return;
 
-	if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3))
+	if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3)
 		DRM_DEBUG_KMS("Sink OUI: %02hx%02hx%02hx\n",
 			      buf[0], buf[1], buf[2]);
 
-	if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3))
+	if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3)
 		DRM_DEBUG_KMS("Branch OUI: %02hx%02hx%02hx\n",
 			      buf[0], buf[1], buf[2]);
 }
@@ -419,21 +419,23 @@ int radeon_dp_get_panel_mode(struct drm_encoder *encoder,
 
 	if (dp_bridge != ENCODER_OBJECT_ID_NONE) {
 		/* DP bridge chips */
-		drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
-				  DP_EDP_CONFIGURATION_CAP, &tmp);
-		if (tmp & 1)
-			panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
-		else if ((dp_bridge == ENCODER_OBJECT_ID_NUTMEG) ||
-			 (dp_bridge == ENCODER_OBJECT_ID_TRAVIS))
-			panel_mode = DP_PANEL_MODE_INTERNAL_DP1_MODE;
-		else
-			panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE;
+		if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
+				      DP_EDP_CONFIGURATION_CAP, &tmp) == 1) {
+			if (tmp & 1)
+				panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
+			else if ((dp_bridge == ENCODER_OBJECT_ID_NUTMEG) ||
+				 (dp_bridge == ENCODER_OBJECT_ID_TRAVIS))
+				panel_mode = DP_PANEL_MODE_INTERNAL_DP1_MODE;
+			else
+				panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE;
+		}
 	} else if (connector->connector_type == DRM_MODE_CONNECTOR_eDP) {
 		/* eDP */
-		drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
-				  DP_EDP_CONFIGURATION_CAP, &tmp);
-		if (tmp & 1)
-			panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
+		if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
+				      DP_EDP_CONFIGURATION_CAP, &tmp) == 1) {
+			if (tmp & 1)
+				panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
+		}
 	}
 
 	return panel_mode;
@@ -809,11 +811,15 @@ void radeon_dp_link_train(struct drm_encoder *encoder,
 	else
 		dp_info.enc_id |= ATOM_DP_CONFIG_LINK_A;
 
-	drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, DP_MAX_LANE_COUNT, &tmp);
-	if (ASIC_IS_DCE5(rdev) && (tmp & DP_TPS3_SUPPORTED))
-		dp_info.tp3_supported = true;
-	else
+	if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, DP_MAX_LANE_COUNT, &tmp)
+	    == 1) {
+		if (ASIC_IS_DCE5(rdev) && (tmp & DP_TPS3_SUPPORTED))
+			dp_info.tp3_supported = true;
+		else
+			dp_info.tp3_supported = false;
+	} else {
 		dp_info.tp3_supported = false;
+	}
 
 	memcpy(dp_info.dpcd, dig_connector->dpcd, DP_RECEIVER_CAP_SIZE);
 	dp_info.rdev = rdev;
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/radeon/dp: check for errors in dpcd reads
  2014-04-30 13:27 [PATCH] drm/radeon/dp: check for errors in dpcd reads Alex Deucher
@ 2014-04-30 13:58 ` Christian König
  2014-05-05 20:55   ` Sergei Antonov
  0 siblings, 1 reply; 4+ messages in thread
From: Christian König @ 2014-04-30 13:58 UTC (permalink / raw)
  To: Alex Deucher, dri-devel; +Cc: Alex Deucher, saproj

Am 30.04.2014 15:27, schrieb Alex Deucher:
> Check to make sure the transaction succeeded before
> using the register value.  Fixes occasional link training
> problems.
>
> Noticed-by: Sergei Antonov <saproj@gmail.com>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

Applied to my 3.15 queue.

Christian.

> ---
>   drivers/gpu/drm/radeon/atombios_dp.c | 44 ++++++++++++++++++++----------------
>   1 file changed, 25 insertions(+), 19 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/atombios_dp.c b/drivers/gpu/drm/radeon/atombios_dp.c
> index bc0119f..54e4f52 100644
> --- a/drivers/gpu/drm/radeon/atombios_dp.c
> +++ b/drivers/gpu/drm/radeon/atombios_dp.c
> @@ -366,11 +366,11 @@ static void radeon_dp_probe_oui(struct radeon_connector *radeon_connector)
>   	if (!(dig_connector->dpcd[DP_DOWN_STREAM_PORT_COUNT] & DP_OUI_SUPPORT))
>   		return;
>   
> -	if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3))
> +	if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3)
>   		DRM_DEBUG_KMS("Sink OUI: %02hx%02hx%02hx\n",
>   			      buf[0], buf[1], buf[2]);
>   
> -	if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3))
> +	if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3)
>   		DRM_DEBUG_KMS("Branch OUI: %02hx%02hx%02hx\n",
>   			      buf[0], buf[1], buf[2]);
>   }
> @@ -419,21 +419,23 @@ int radeon_dp_get_panel_mode(struct drm_encoder *encoder,
>   
>   	if (dp_bridge != ENCODER_OBJECT_ID_NONE) {
>   		/* DP bridge chips */
> -		drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
> -				  DP_EDP_CONFIGURATION_CAP, &tmp);
> -		if (tmp & 1)
> -			panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
> -		else if ((dp_bridge == ENCODER_OBJECT_ID_NUTMEG) ||
> -			 (dp_bridge == ENCODER_OBJECT_ID_TRAVIS))
> -			panel_mode = DP_PANEL_MODE_INTERNAL_DP1_MODE;
> -		else
> -			panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE;
> +		if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
> +				      DP_EDP_CONFIGURATION_CAP, &tmp) == 1) {
> +			if (tmp & 1)
> +				panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
> +			else if ((dp_bridge == ENCODER_OBJECT_ID_NUTMEG) ||
> +				 (dp_bridge == ENCODER_OBJECT_ID_TRAVIS))
> +				panel_mode = DP_PANEL_MODE_INTERNAL_DP1_MODE;
> +			else
> +				panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE;
> +		}
>   	} else if (connector->connector_type == DRM_MODE_CONNECTOR_eDP) {
>   		/* eDP */
> -		drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
> -				  DP_EDP_CONFIGURATION_CAP, &tmp);
> -		if (tmp & 1)
> -			panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
> +		if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
> +				      DP_EDP_CONFIGURATION_CAP, &tmp) == 1) {
> +			if (tmp & 1)
> +				panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
> +		}
>   	}
>   
>   	return panel_mode;
> @@ -809,11 +811,15 @@ void radeon_dp_link_train(struct drm_encoder *encoder,
>   	else
>   		dp_info.enc_id |= ATOM_DP_CONFIG_LINK_A;
>   
> -	drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, DP_MAX_LANE_COUNT, &tmp);
> -	if (ASIC_IS_DCE5(rdev) && (tmp & DP_TPS3_SUPPORTED))
> -		dp_info.tp3_supported = true;
> -	else
> +	if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, DP_MAX_LANE_COUNT, &tmp)
> +	    == 1) {
> +		if (ASIC_IS_DCE5(rdev) && (tmp & DP_TPS3_SUPPORTED))
> +			dp_info.tp3_supported = true;
> +		else
> +			dp_info.tp3_supported = false;
> +	} else {
>   		dp_info.tp3_supported = false;
> +	}
>   
>   	memcpy(dp_info.dpcd, dig_connector->dpcd, DP_RECEIVER_CAP_SIZE);
>   	dp_info.rdev = rdev;

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/radeon/dp: check for errors in dpcd reads
  2014-04-30 13:58 ` Christian König
@ 2014-05-05 20:55   ` Sergei Antonov
  2014-05-05 20:56     ` Deucher, Alexander
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Antonov @ 2014-05-05 20:55 UTC (permalink / raw)
  To: Christian König; +Cc: Alex Deucher, dri-devel@lists.freedesktop.org



> Am 30.04.2014 um 15:58 schrieb Christian König <deathsimple@vodafone.de>:
> 
> Am 30.04.2014 15:27, schrieb Alex Deucher:
>> Check to make sure the transaction succeeded before
>> using the register value.  Fixes occasional link training
>> problems.
>> 
>> Noticed-by: Sergei Antonov <saproj@gmail.com>
>> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> 
> Applied to my 3.15 queue.
> 
> Christian.

Why is not this patch still in Linus' tree? I looked forward to seeing it in 3.15-rc4 but it is not there.

> 
>> ---
>>  drivers/gpu/drm/radeon/atombios_dp.c | 44 ++++++++++++++++++++----------------
>>  1 file changed, 25 insertions(+), 19 deletions(-)
>> 
>> diff --git a/drivers/gpu/drm/radeon/atombios_dp.c b/drivers/gpu/drm/radeon/atombios_dp.c
>> index bc0119f..54e4f52 100644
>> --- a/drivers/gpu/drm/radeon/atombios_dp.c
>> +++ b/drivers/gpu/drm/radeon/atombios_dp.c
>> @@ -366,11 +366,11 @@ static void radeon_dp_probe_oui(struct radeon_connector *radeon_connector)
>>      if (!(dig_connector->dpcd[DP_DOWN_STREAM_PORT_COUNT] & DP_OUI_SUPPORT))
>>          return;
>>  -    if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3))
>> +    if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3)
>>          DRM_DEBUG_KMS("Sink OUI: %02hx%02hx%02hx\n",
>>                    buf[0], buf[1], buf[2]);
>>  -    if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3))
>> +    if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3)
>>          DRM_DEBUG_KMS("Branch OUI: %02hx%02hx%02hx\n",
>>                    buf[0], buf[1], buf[2]);
>>  }
>> @@ -419,21 +419,23 @@ int radeon_dp_get_panel_mode(struct drm_encoder *encoder,
>>        if (dp_bridge != ENCODER_OBJECT_ID_NONE) {
>>          /* DP bridge chips */
>> -        drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
>> -                  DP_EDP_CONFIGURATION_CAP, &tmp);
>> -        if (tmp & 1)
>> -            panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
>> -        else if ((dp_bridge == ENCODER_OBJECT_ID_NUTMEG) ||
>> -             (dp_bridge == ENCODER_OBJECT_ID_TRAVIS))
>> -            panel_mode = DP_PANEL_MODE_INTERNAL_DP1_MODE;
>> -        else
>> -            panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE;
>> +        if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
>> +                      DP_EDP_CONFIGURATION_CAP, &tmp) == 1) {
>> +            if (tmp & 1)
>> +                panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
>> +            else if ((dp_bridge == ENCODER_OBJECT_ID_NUTMEG) ||
>> +                 (dp_bridge == ENCODER_OBJECT_ID_TRAVIS))
>> +                panel_mode = DP_PANEL_MODE_INTERNAL_DP1_MODE;
>> +            else
>> +                panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE;
>> +        }
>>      } else if (connector->connector_type == DRM_MODE_CONNECTOR_eDP) {
>>          /* eDP */
>> -        drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
>> -                  DP_EDP_CONFIGURATION_CAP, &tmp);
>> -        if (tmp & 1)
>> -            panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
>> +        if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
>> +                      DP_EDP_CONFIGURATION_CAP, &tmp) == 1) {
>> +            if (tmp & 1)
>> +                panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
>> +        }
>>      }
>>        return panel_mode;
>> @@ -809,11 +811,15 @@ void radeon_dp_link_train(struct drm_encoder *encoder,
>>      else
>>          dp_info.enc_id |= ATOM_DP_CONFIG_LINK_A;
>>  -    drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, DP_MAX_LANE_COUNT, &tmp);
>> -    if (ASIC_IS_DCE5(rdev) && (tmp & DP_TPS3_SUPPORTED))
>> -        dp_info.tp3_supported = true;
>> -    else
>> +    if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, DP_MAX_LANE_COUNT, &tmp)
>> +        == 1) {
>> +        if (ASIC_IS_DCE5(rdev) && (tmp & DP_TPS3_SUPPORTED))
>> +            dp_info.tp3_supported = true;
>> +        else
>> +            dp_info.tp3_supported = false;
>> +    } else {
>>          dp_info.tp3_supported = false;
>> +    }
>>        memcpy(dp_info.dpcd, dig_connector->dpcd, DP_RECEIVER_CAP_SIZE);
>>      dp_info.rdev = rdev;
> 
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] drm/radeon/dp: check for errors in dpcd reads
  2014-05-05 20:55   ` Sergei Antonov
@ 2014-05-05 20:56     ` Deucher, Alexander
  0 siblings, 0 replies; 4+ messages in thread
From: Deucher, Alexander @ 2014-05-05 20:56 UTC (permalink / raw)
  To: Sergei Antonov, Christian König; +Cc: dri-devel@lists.freedesktop.org

> -----Original Message-----
> From: Sergei Antonov [mailto:saproj@gmail.com]
> Sent: Monday, May 05, 2014 4:55 PM
> To: Christian König
> Cc: Alex Deucher; dri-devel@lists.freedesktop.org; Deucher, Alexander
> Subject: Re: [PATCH] drm/radeon/dp: check for errors in dpcd reads
> 
> 
> 
> > Am 30.04.2014 um 15:58 schrieb Christian König
> <deathsimple@vodafone.de>:
> >
> > Am 30.04.2014 15:27, schrieb Alex Deucher:
> >> Check to make sure the transaction succeeded before
> >> using the register value.  Fixes occasional link training
> >> problems.
> >>
> >> Noticed-by: Sergei Antonov <saproj@gmail.com>
> >> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> >
> > Applied to my 3.15 queue.
> >
> > Christian.
> 
> Why is not this patch still in Linus' tree? I looked forward to seeing it in 3.15-
> rc4 but it is not there.

It hasn't been pulled into Dave's tree yet.  It should show up in his next pull request to Linus this week.

Alex

> 
> >
> >> ---
> >>  drivers/gpu/drm/radeon/atombios_dp.c | 44 ++++++++++++++++++++-
> ---------------
> >>  1 file changed, 25 insertions(+), 19 deletions(-)
> >>
> >> diff --git a/drivers/gpu/drm/radeon/atombios_dp.c
> b/drivers/gpu/drm/radeon/atombios_dp.c
> >> index bc0119f..54e4f52 100644
> >> --- a/drivers/gpu/drm/radeon/atombios_dp.c
> >> +++ b/drivers/gpu/drm/radeon/atombios_dp.c
> >> @@ -366,11 +366,11 @@ static void radeon_dp_probe_oui(struct
> radeon_connector *radeon_connector)
> >>      if (!(dig_connector->dpcd[DP_DOWN_STREAM_PORT_COUNT] &
> DP_OUI_SUPPORT))
> >>          return;
> >>  -    if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux,
> DP_SINK_OUI, buf, 3))
> >> +    if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux,
> DP_SINK_OUI, buf, 3) == 3)
> >>          DRM_DEBUG_KMS("Sink OUI: %02hx%02hx%02hx\n",
> >>                    buf[0], buf[1], buf[2]);
> >>  -    if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux,
> DP_BRANCH_OUI, buf, 3))
> >> +    if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux,
> DP_BRANCH_OUI, buf, 3) == 3)
> >>          DRM_DEBUG_KMS("Branch OUI: %02hx%02hx%02hx\n",
> >>                    buf[0], buf[1], buf[2]);
> >>  }
> >> @@ -419,21 +419,23 @@ int radeon_dp_get_panel_mode(struct
> drm_encoder *encoder,
> >>        if (dp_bridge != ENCODER_OBJECT_ID_NONE) {
> >>          /* DP bridge chips */
> >> -        drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
> >> -                  DP_EDP_CONFIGURATION_CAP, &tmp);
> >> -        if (tmp & 1)
> >> -            panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
> >> -        else if ((dp_bridge == ENCODER_OBJECT_ID_NUTMEG) ||
> >> -             (dp_bridge == ENCODER_OBJECT_ID_TRAVIS))
> >> -            panel_mode = DP_PANEL_MODE_INTERNAL_DP1_MODE;
> >> -        else
> >> -            panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE;
> >> +        if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
> >> +                      DP_EDP_CONFIGURATION_CAP, &tmp) == 1) {
> >> +            if (tmp & 1)
> >> +                panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
> >> +            else if ((dp_bridge == ENCODER_OBJECT_ID_NUTMEG) ||
> >> +                 (dp_bridge == ENCODER_OBJECT_ID_TRAVIS))
> >> +                panel_mode = DP_PANEL_MODE_INTERNAL_DP1_MODE;
> >> +            else
> >> +                panel_mode = DP_PANEL_MODE_EXTERNAL_DP_MODE;
> >> +        }
> >>      } else if (connector->connector_type ==
> DRM_MODE_CONNECTOR_eDP) {
> >>          /* eDP */
> >> -        drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
> >> -                  DP_EDP_CONFIGURATION_CAP, &tmp);
> >> -        if (tmp & 1)
> >> -            panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
> >> +        if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
> >> +                      DP_EDP_CONFIGURATION_CAP, &tmp) == 1) {
> >> +            if (tmp & 1)
> >> +                panel_mode = DP_PANEL_MODE_INTERNAL_DP2_MODE;
> >> +        }
> >>      }
> >>        return panel_mode;
> >> @@ -809,11 +811,15 @@ void radeon_dp_link_train(struct drm_encoder
> *encoder,
> >>      else
> >>          dp_info.enc_id |= ATOM_DP_CONFIG_LINK_A;
> >>  -    drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
> DP_MAX_LANE_COUNT, &tmp);
> >> -    if (ASIC_IS_DCE5(rdev) && (tmp & DP_TPS3_SUPPORTED))
> >> -        dp_info.tp3_supported = true;
> >> -    else
> >> +    if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux,
> DP_MAX_LANE_COUNT, &tmp)
> >> +        == 1) {
> >> +        if (ASIC_IS_DCE5(rdev) && (tmp & DP_TPS3_SUPPORTED))
> >> +            dp_info.tp3_supported = true;
> >> +        else
> >> +            dp_info.tp3_supported = false;
> >> +    } else {
> >>          dp_info.tp3_supported = false;
> >> +    }
> >>        memcpy(dp_info.dpcd, dig_connector->dpcd,
> DP_RECEIVER_CAP_SIZE);
> >>      dp_info.rdev = rdev;
> >
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-05 20:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-30 13:27 [PATCH] drm/radeon/dp: check for errors in dpcd reads Alex Deucher
2014-04-30 13:58 ` Christian König
2014-05-05 20:55   ` Sergei Antonov
2014-05-05 20:56     ` Deucher, Alexander

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.