Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42dea5dd authored by Dave Airlie's avatar Dave Airlie
Browse files

drm/radeon/kms: we should return 0 when we have no modes not -1.



This fixes my monitor with broken EDID so it at least get 800x600.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 48e113e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -365,7 +365,7 @@ int radeon_ddc_get_modes(struct radeon_connector *radeon_connector)
		return ret;
	}
	drm_mode_connector_update_edid_property(&radeon_connector->base, NULL);
	return -1;
	return 0;
}

static int radeon_ddc_dump(struct drm_connector *connector)