]> git.baikalelectronics.ru Git - kernel.git/commit
drm/qxl: Use simple encoder
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 28 Feb 2020 08:18:28 +0000 (09:18 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 2 Mar 2020 08:22:56 +0000 (09:22 +0100)
commit8750e828b6e801852f4a295fd3b6e18594ef6be9
tree6dd3642300232004843ce98309242f9ca5a13a91
parent4116da2c04201100faef3bf0ec9b1df59f5b8342
drm/qxl: Use simple encoder

The qxl driver uses an empty implementation for its encoder. Replace
the code with the generic simple encoder.

v4:
* handle errors returned from drm_simple_encoder_init()
v2:
* rebase onto new simple-encoder interface

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20200228081828.18463-5-tzimmermann@suse.de
drivers/gpu/drm/qxl/qxl_display.c