diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2017-12-05 19:25:00 +0100 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2017-12-08 13:07:01 +0100 |
commit | d0f54f51f625f2539371d3723d8a8f5f5a1e9038 (patch) | |
tree | 6856e45185b19c2c9bf340d21d15ce5cfaeac50a /drivers/gpu/drm/nouveau/nouveau_vga.c | |
parent | 4ccbc6e5756296595d437e28565f3ed62a7f3a0f (diff) | |
download | op-kernel-dev-d0f54f51f625f2539371d3723d8a8f5f5a1e9038.zip op-kernel-dev-d0f54f51f625f2539371d3723d8a8f5f5a1e9038.tar.gz |
drm/nouveau: Use drm_fb_helper_output_poll_changed()
This driver can use drm_fb_helper_output_poll_changed() instead of
its own nouveau_fbcon_output_poll_changed().
Cc: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20171205182504.41923-8-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_vga.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_vga.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_vga.c b/drivers/gpu/drm/nouveau/nouveau_vga.c index 52e52a3..3da5a43 100644 --- a/drivers/gpu/drm/nouveau/nouveau_vga.c +++ b/drivers/gpu/drm/nouveau/nouveau_vga.c @@ -4,6 +4,7 @@ #include <drm/drmP.h> #include <drm/drm_crtc_helper.h> +#include <drm/drm_fb_helper.h> #include "nouveau_drv.h" #include "nouveau_acpi.h" @@ -61,7 +62,7 @@ static void nouveau_switcheroo_reprobe(struct pci_dev *pdev) { struct drm_device *dev = pci_get_drvdata(pdev); - nouveau_fbcon_output_poll_changed(dev); + drm_fb_helper_output_poll_changed(dev); } static bool |