[Intel-gfx] [PATCH 2/2] drm/i915/dp: Add DPCD data to debug output

Eric Anholt eric at anholt.net
Wed May 26 23:13:07 CEST 2010


On Thu, 13 May 2010 14:45:43 -0400, Adam Jackson <ajax at redhat.com> wrote:
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
>  drivers/gpu/drm/i915/intel_dp.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
> index 78a75e8..a1a6785 100644
> --- a/drivers/gpu/drm/i915/intel_dp.c
> +++ b/drivers/gpu/drm/i915/intel_dp.c
> @@ -1216,6 +1216,8 @@ intel_dp_detect(struct drm_connector *connector)
>  		if (dp_priv->dpcd[0] != 0)
>  			status = connector_status_connected;
>  	}
> +	DRM_DEBUG_KMS("DPCD: %hx%hx%hx%hx\n", dp_priv->dpcd[0],
> +		      dp_priv->dpcd[1], dp_priv->dpcd[2], dp_priv->dpcd[3]);
>  	return status;

Applied these.  Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100526/bee7eb7c/attachment.sig>


More information about the Intel-gfx mailing list