diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-10-18 16:11:32 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-10-23 14:21:24 +0100 |
commit | a40a60d912a101e8dfb08ee15eb02430aaf6112b (patch) | |
tree | da12230c3d77ca245f8031fbbd712a25b5c29e03 /drivers/gpu/drm/qxl/qxl_display.c | |
parent | b080742393e2c19c603ccd651f10d58b32455749 (diff) | |
download | linux-a40a60d912a101e8dfb08ee15eb02430aaf6112b.tar.bz2 |
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/qxl_display.c')
-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 9f3357898631..4f28060a4151 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) |