Subversion Repositories Kolibri OS

Rev

Rev 5078 | Rev 5271 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5078 Rev 5128
Line 403... Line 403...
403
{
403
{
404
	struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv;
404
	struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv;
405
	u8 msg[DP_DPCD_SIZE];
405
	u8 msg[DP_DPCD_SIZE];
406
	int ret;
406
	int ret;
Line 407... Line -...
407
 
-
 
408
	char dpcd_hex_dump[DP_DPCD_SIZE * 3];
-
 
409
 
407
 
410
	ret = drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_DPCD_REV, msg,
408
	ret = drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_DPCD_REV, msg,
411
			       DP_DPCD_SIZE);
409
			       DP_DPCD_SIZE);
412
	if (ret > 0) {
410
	if (ret > 0) {
Line 413... Line 411...
413
		memcpy(dig_connector->dpcd, msg, DP_DPCD_SIZE);
411
		memcpy(dig_connector->dpcd, msg, DP_DPCD_SIZE);
414
 
412
 
415
		hex_dump_to_buffer(dig_connector->dpcd, sizeof(dig_connector->dpcd),
-
 
Line 416... Line 413...
416
				   32, 1, dpcd_hex_dump, sizeof(dpcd_hex_dump), false);
413
		DRM_DEBUG_KMS("DPCD: %*ph\n", (int)sizeof(dig_connector->dpcd),
Line 417... Line 414...
417
		DRM_DEBUG_KMS("DPCD: %s\n", dpcd_hex_dump);
414
			      dig_connector->dpcd);
418
 
415