intel_ddi.c revision 1450
#include "i915_drv.h"
#include "intel_drv.h"
return PORT_E;
BUG();
return I915_MAX_PORTS;
bool use_fdi_mode)
int port;
static const long hsw_ddi_buf_ctl_values[] = {
static struct intel_encoder *
int num_encoders = 0;
num_encoders++;
return ret;
case PORT_CLK_SEL_SPLL:
case PORT_CLK_SEL_WRPLL1:
case PORT_CLK_SEL_WRPLL2:
#define ABS_DIFF(a, b) ((a > b) ? (a - b) : (b - a))
struct wrpll_rnp {
unsigned budget;
switch (clock) {
budget = 0;
return budget;
if (best->p == 0) {
best->p = p;
best->p = p;
best->p = p;
best->p = p;
unsigned budget;
r2++) {
n2++) {
case DP_LINK_BW_1_62:
case DP_LINK_BW_2_7:
case DP_LINK_BW_5_4:
switch (pipe) {
case PIPE_A:
case PIPE_B:
case PIPE_C:
BUG();
case TRANS_DDI_EDP_INPUT_A_ON:
*pipe = i;
pipe);
port = i;
ret);
return ret;
pipe);
case PORT_CLK_SEL_SPLL:
case PORT_CLK_SEL_WRPLL1:
case PORT_CLK_SEL_WRPLL2:
bool wait = false;
wait = true;
if (wait)
bool wait = false;
wait = true;
if (wait)
if (!intel_dig_port)
if (!dp_connector) {
if (!hdmi_connector) {