DP_PORT_EN
bool cur_state = intel_de_read(display, intel_dp->output_reg) & DP_PORT_EN;
ret = val & DP_PORT_EN;
DP_PORT_EN) == 0))
intel_dp->DP &= ~DP_PORT_EN;
intel_dp->DP |= DP_PORT_EN | DP_PIPE_SEL(PIPE_A) |
intel_dp->DP &= ~DP_PORT_EN;
intel_dp->DP |= DP_PORT_EN;
if (drm_WARN_ON(display->drm, dp_reg & DP_PORT_EN))
if (val & DP_PORT_EN ||
intel_de_read(display, intel_dp->output_reg) & DP_PORT_EN,
intel_de_write(display, intel_dp->output_reg, DP | DP_PORT_EN);
intel_de_write(display, intel_dp->output_reg, DP & ~DP_PORT_EN);