summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/qxl/qxl_kms.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2013-07-05 04:20:33 +0400
committerDave Airlie <airlied@redhat.com>2013-07-05 04:44:19 +0400
commit5ff91e442652ec33a648c3b9ae5025faaff1e813 (patch)
tree4cf36c62b7a7b6c6a2ad66e4d79d3f5912a3438b /drivers/gpu/drm/qxl/qxl_kms.c
parentd84300bf793471cc20c7553601c45d6f70dd2b1e (diff)
downloadlinux-5ff91e442652ec33a648c3b9ae5025faaff1e813.tar.xz
qxl: use drm helper hotplug support
This uses the helper to deal with hotplug so fbdev gets included. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_kms.c')
-rw-r--r--drivers/gpu/drm/qxl/qxl_kms.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_kms.c b/drivers/gpu/drm/qxl/qxl_kms.c
index 2c6f9219e9d9..9e8da9ee9731 100644
--- a/drivers/gpu/drm/qxl/qxl_kms.c
+++ b/drivers/gpu/drm/qxl/qxl_kms.c
@@ -26,6 +26,7 @@
#include "qxl_drv.h"
#include "qxl_object.h"
+#include <drm/drm_crtc_helper.h>
#include <linux/io-mapping.h>
int qxl_log_level;
@@ -307,6 +308,8 @@ int qxl_driver_load(struct drm_device *dev, unsigned long flags)
goto out;
}
+ drm_kms_helper_poll_init(qdev->ddev);
+
return 0;
out:
kfree(qdev);