diff options
author | Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> | 2018-02-12 10:52:51 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-02-22 17:58:59 +0100 |
commit | ac86cba96e2a439883d452772013049f54df2042 (patch) | |
tree | 478ba66d63cec1c24943430b141eeb15fa232981 /arch | |
parent | 588717061002778158f7e4772b3dfc645612983d (diff) | |
download | linux-stable-ac86cba96e2a439883d452772013049f54df2042.tar.gz linux-stable-ac86cba96e2a439883d452772013049f54df2042.tar.bz2 linux-stable-ac86cba96e2a439883d452772013049f54df2042.zip |
drm/simple_kms_helper: Add {enable|disable}_vblank callback support
If simple_kms_helper based driver needs to work with vblanks,
then it has to provide drm_driver.{enable|disable}_vblank callbacks,
because drm_simple_kms_helper.drm_crtc_funcs does not provide any.
At the same time drm_driver.{enable|disable}_vblank callbacks
are marked as deprecated and shouldn't be used by new drivers.
Fix this by extending drm_simple_kms_helper.drm_crtc_funcs
to provide the missing callbacks.
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1518425574-32671-2-git-send-email-andr2000@gmail.com
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions