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

Commit f985dedb authored by Adam Jackson's avatar Adam Jackson Committed by Dave Airlie
Browse files

drm/modes: Limit fallback modes to 60Hz

parent 3bea21b6
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1290,6 +1290,8 @@ int drm_add_modes_noedid(struct drm_connector *connector,
					ptr->vdisplay > vdisplay)
					ptr->vdisplay > vdisplay)
				continue;
				continue;
		}
		}
		if (drm_mode_vrefresh(ptr) > 61)
			continue;
		mode = drm_mode_duplicate(dev, ptr);
		mode = drm_mode_duplicate(dev, ptr);
		if (mode) {
		if (mode) {
			drm_mode_probed_add(connector, mode);
			drm_mode_probed_add(connector, mode);