Re: [Intel-gfx] [PATCH 5/7] drm/edid: Armor drm_dmt_modes_for_range for reduced blanking modes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/12/12 5:35 PM, Adam Jackson wrote:

@@ -1030,6 +1026,10 @@ drm_dmt_modes_for_range(struct drm_connector *connector, struct edid *edid,

  	for (i = 0; i<  drm_num_dmt_modes; i++) {
  		if (mode_in_range(drm_dmt_modes + i, edid, timing)) {
+			if (mode_is_rb(&drm_dmt_modes[i])&&
+			    !drm_monitor_supports_rb(edid))
+				continue;
+
  			newmode = drm_mode_duplicate(dev,&drm_dmt_modes[i]);
  			if (newmode) {
  				drm_mode_probed_add(connector, newmode);

This chunk is actually unnecessary, upon second reading. mode_in_range() already checks this.

New series in a moment that addresses the extra mode list from HP.

- ajax
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux