diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-10-18 14:11:32 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-10-23 13:21:24 (GMT) |
commit | a40a60d912a101e8dfb08ee15eb02430aaf6112b (patch) | |
tree | da12230c3d77ca245f8031fbbd712a25b5c29e03 /drivers/gpu/drm/qxl | |
parent | b080742393e2c19c603ccd651f10d58b32455749 (diff) | |
download | linux-a40a60d912a101e8dfb08ee15eb02430aaf6112b.tar.xz |
drm/qxl: remove unnecessary check
All hard-coded resolutions are passing this check.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/qxl')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_display.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_display.c b/drivers/gpu/drm/qxl/qxl_display.c index 9f33578..4f28060 100644 --- a/drivers/gpu/drm/qxl/qxl_display.c +++ b/drivers/gpu/drm/qxl/qxl_display.c @@ -170,9 +170,6 @@ static int qxl_add_common_modes(struct drm_connector *connector, }; for (i = 0; i < ARRAY_SIZE(common_modes); i++) { - if (common_modes[i].w < 320 || common_modes[i].h < 200) - continue; - mode = drm_cvt_mode(dev, common_modes[i].w, common_modes[i].h, 60, false, false, false); if (common_modes[i].w == pwidth && common_modes[i].h == pheight) |