qxl: drop mode_info.modes & related code.
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 1 Mar 2017 10:12:31 +0000 (11:12 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 7 Mar 2017 06:09:13 +0000 (07:09 +0100)
commitecefd94e8bde7de4f03d6fc874378d826537df7b
treecfc218ff3615f814b9c05bbc3ea07f01ce3ae673
parent861078381ba56b56808113736000d9e7ead349c8
qxl: drop mode_info.modes & related code.

very old qxl hardware revisions (predating qxl ksm support by a few
years) supported a fixed list of video modes only.  The list is still
provided by the virtual hardware, for backward compatibility reasons.

The qxl kms driver never ever looks at it, except for dumping it to
the kernel log at load time in case debug logging is enabled.  Drop
that pointless code.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1488363154-6889-2-git-send-email-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_drv.h
drivers/gpu/drm/qxl/qxl_kms.c