DP_PORT_EN
bool cur_state = I915_READ(intel_dp->output_reg) & DP_PORT_EN;
ret = val & DP_PORT_EN;
intel_dp->DP |= DP_PORT_EN;
if (WARN_ON(dp_reg & DP_PORT_EN))
if (WARN_ON((I915_READ(intel_dp->output_reg) & DP_PORT_EN) == 0))
DP &= ~(DP_PORT_EN | DP_AUDIO_OUTPUT_ENABLE);
DP |= DP_PORT_EN | DP_PIPE_SEL(PIPE_A) |
DP &= ~DP_PORT_EN;
if (WARN(I915_READ(intel_dp->output_reg) & DP_PORT_EN,
I915_WRITE(intel_dp->output_reg, DP | DP_PORT_EN);
I915_WRITE(intel_dp->output_reg, DP & ~DP_PORT_EN);
intel_dp->DP |= DP_PORT_EN;