| 1 |
diff -up linux-2.6.29.noarch/drivers/gpu/drm/drm_edid.c.jx linux-2.6.29.noarch/drivers/gpu/drm/drm_edid.c
|
| 2 |
--- linux-2.6.29.noarch/drivers/gpu/drm/drm_edid.c.jx 2009-05-15 15:16:07.000000000 -0400
|
| 3 |
+++ linux-2.6.29.noarch/drivers/gpu/drm/drm_edid.c 2009-05-15 16:05:16.000000000 -0400
|
| 4 |
@@ -289,6 +289,11 @@ static struct drm_display_mode *drm_mode
|
| 5 |
struct drm_display_mode *mode;
|
| 6 |
struct detailed_pixel_timing *pt = &timing->data.pixel_data;
|
| 7 |
|
| 8 |
+ /* ignore tiny modes */
|
| 9 |
+ if (((pt->hactive_hi << 8) | pt->hactive_lo) < 64 ||
|
| 10 |
+ ((pt->vactive_hi << 8) | pt->hactive_lo) < 64)
|
| 11 |
+ return NULL;
|
| 12 |
+
|
| 13 |
if (pt->stereo) {
|
| 14 |
printk(KERN_WARNING "stereo mode not supported\n");
|
| 15 |
return NULL;
|