[PATCH v2] drm/qxl: validate monitors config modes

2015-08-20 Thread Jonathon Jongsma
y of these, its status is set to MODE_BAD so that it will be pruned as expected. Signed-off-by: Jonathon Jongsma Cc: stable at vger.kernel.org --- Changes from v1: - add signed-off-by - cc stable drivers/gpu/drm/qxl/qxl_display.c | 66 --- drivers/gpu/drm/qxl

[PATCH] drm/qxl: validate monitors config modes

2015-08-18 Thread Jonathon Jongsma
Due to some recent changes in drm_helper_probe_single_connector_modes_merge_bits(), old custom modes were not being pruned properly. In current kernels, drm_mode_validate_basic() is called to sanity-check each mode in the list. If the sanity-check passes, the mode's status gets set to to MODE_OK. I