From: Egbert Eich <eich@xxxxxxx> According to the use UMS X.Org driver G200 WB chips don't support doublescan Signed-off-by: Egbert Eich <eich@xxxxxxx> Signed-off-by: Takashi Iwai <tiwai@xxxxxxx> --- drivers/gpu/drm/mgag200/mgag200_mode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mgag200/mgag200_mode.c b/drivers/gpu/drm/mgag200/mgag200_mode.c index 1b2b117a48d1..ca5a6df98fa3 100644 --- a/drivers/gpu/drm/mgag200/mgag200_mode.c +++ b/drivers/gpu/drm/mgag200/mgag200_mode.c @@ -1734,6 +1734,7 @@ static struct drm_connector *mga_vga_init(struct drm_device *dev) { struct drm_connector *connector; struct mga_connector *mga_connector; + struct mga_device *mdev = dev->dev_private; mga_connector = kzalloc(sizeof(struct mga_connector), GFP_KERNEL); if (!mga_connector) @@ -1742,7 +1743,7 @@ static struct drm_connector *mga_vga_init(struct drm_device *dev) connector = &mga_connector->base; connector->interlace_allowed = true; - connector->doublescan_allowed = true; + connector->doublescan_allowed = (mdev->type == G200_WB) ? false : true; drm_connector_init(dev, connector, &mga_vga_connector_funcs, DRM_MODE_CONNECTOR_VGA); -- 2.13.2 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel