Subversion Repositories Kolibri OS

Rev

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

Rev 4104 Rev 4280
Line 1247... Line 1247...
1247
 
1247
 
1248
	if (type == INTEL_OUTPUT_DISPLAYPORT || type == INTEL_OUTPUT_EDP)
1248
	if (type == INTEL_OUTPUT_DISPLAYPORT || type == INTEL_OUTPUT_EDP)
1249
		intel_dp_check_link_status(intel_dp);
1249
		intel_dp_check_link_status(intel_dp);
Line 1250... Line 1250...
1250
}
1250
}
1251
 
1251
 
1252
static void intel_ddi_get_config(struct intel_encoder *encoder,
1252
void intel_ddi_get_config(struct intel_encoder *encoder,
1253
				 struct intel_crtc_config *pipe_config)
1253
				 struct intel_crtc_config *pipe_config)
1254
{
1254
{
1255
	struct drm_i915_private *dev_priv = encoder->base.dev->dev_private;
1255
	struct drm_i915_private *dev_priv = encoder->base.dev->dev_private;
Line 1266... Line 1266...
1266
		flags |= DRM_MODE_FLAG_PVSYNC;
1266
		flags |= DRM_MODE_FLAG_PVSYNC;
1267
	else
1267
	else
1268
		flags |= DRM_MODE_FLAG_NVSYNC;
1268
		flags |= DRM_MODE_FLAG_NVSYNC;
Line 1269... Line 1269...
1269
 
1269
 
-
 
1270
	pipe_config->adjusted_mode.flags |= flags;
-
 
1271
 
-
 
1272
	switch (temp & TRANS_DDI_BPC_MASK) {
-
 
1273
	case TRANS_DDI_BPC_6:
-
 
1274
		pipe_config->pipe_bpp = 18;
-
 
1275
		break;
-
 
1276
	case TRANS_DDI_BPC_8:
-
 
1277
		pipe_config->pipe_bpp = 24;
-
 
1278
		break;
-
 
1279
	case TRANS_DDI_BPC_10:
-
 
1280
		pipe_config->pipe_bpp = 30;
-
 
1281
		break;
-
 
1282
	case TRANS_DDI_BPC_12:
-
 
1283
		pipe_config->pipe_bpp = 36;
-
 
1284
		break;
-
 
1285
	default:
-
 
1286
		break;
1270
	pipe_config->adjusted_mode.flags |= flags;
1287
	}
Line 1271... Line 1288...
1271
}
1288
}
1272
 
1289
 
1273
static void intel_ddi_destroy(struct drm_encoder *encoder)
1290
static void intel_ddi_destroy(struct drm_encoder *encoder)