+8
-4
drivers/gpu/drm/i915/intel_display.c
+8
-4
drivers/gpu/drm/i915/intel_display.c
···
12123
12123
static bool check_digital_port_conflicts(struct drm_atomic_state *state)
12124
12124
{
12125
12125
struct drm_device *dev = state->dev;
12126
-
struct intel_encoder *encoder;
12127
12126
struct drm_connector *connector;
12128
-
struct drm_connector_state *connector_state;
12129
12127
unsigned int used_ports = 0;
12130
-
int i;
12131
12128
12132
12129
/*
12133
12130
* Walk the connector list instead of the encoder
12134
12131
* list to detect the problem on ddi platforms
12135
12132
* where there's just one encoder per digital port.
12136
12133
*/
12137
-
for_each_connector_in_state(state, connector, connector_state, i) {
12134
+
drm_for_each_connector(connector, dev) {
12135
+
struct drm_connector_state *connector_state;
12136
+
struct intel_encoder *encoder;
12137
+
12138
+
connector_state = drm_atomic_get_existing_connector_state(state, connector);
12139
+
if (!connector_state)
12140
+
connector_state = connector->state;
12141
+
12138
12142
if (!connector_state->best_encoder)
12139
12143
continue;
12140
12144
+1
-1
drivers/gpu/drm/i915/intel_hdmi.c
+1
-1
drivers/gpu/drm/i915/intel_hdmi.c
···
1381
1381
1382
1382
intel_display_power_get(dev_priv, POWER_DOMAIN_GMBUS);
1383
1383
1384
-
for (try = 0; !live_status && try < 4; try++) {
1384
+
for (try = 0; !live_status && try < 9; try++) {
1385
1385
if (try)
1386
1386
msleep(10);
1387
1387
live_status = intel_digital_port_connected(dev_priv,