|
@@ -521,9 +521,9 @@ static enum drm_mode_status ns2501_mode_valid(struct intel_dvo_device *dvo,
|
|
|
* of the panel in here so we could always accept it
|
|
|
* by disabling the scaler.
|
|
|
*/
|
|
|
- if ((mode->hdisplay == 800 && mode->vdisplay == 600) ||
|
|
|
- (mode->hdisplay == 640 && mode->vdisplay == 480) ||
|
|
|
- (mode->hdisplay == 1024 && mode->vdisplay == 768)) {
|
|
|
+ if ((mode->hdisplay == 640 && mode->vdisplay == 480 && mode->clock == 25175) ||
|
|
|
+ (mode->hdisplay == 800 && mode->vdisplay == 600 && mode->clock == 40000) ||
|
|
|
+ (mode->hdisplay == 1024 && mode->vdisplay == 768 && mode->clock == 65000)) {
|
|
|
return MODE_OK;
|
|
|
} else {
|
|
|
return MODE_ONE_SIZE; /* Is this a reasonable error? */
|