diff options
author | Dave Airlie <airlied@redhat.com> | 2013-07-02 09:37:13 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-07-05 04:44:10 +0400 |
commit | 07f8d9bdb235836d0a255d20f387bc3afa99180f (patch) | |
tree | 9b6dea6d50056c83549832e265caf8a39215752c /drivers/gpu/drm/qxl/qxl_fb.c | |
parent | 5b8788c1740fae8416e7e045301d99676d20bd64 (diff) | |
download | linux-07f8d9bdb235836d0a255d20f387bc3afa99180f.tar.xz |
drm/qxl: add support for > 1 output
This adds support for a default of 4 heads, with a command line
parameter to change the default number.
It also overhauls the modesetting code to handle this case properly,
and send the correct things to the hardware at the right time.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_fb.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_fb.c b/drivers/gpu/drm/qxl/qxl_fb.c index 4b955b04ce1e..c08e12886d6c 100644 --- a/drivers/gpu/drm/qxl/qxl_fb.c +++ b/drivers/gpu/drm/qxl/qxl_fb.c @@ -538,7 +538,7 @@ int qxl_fbdev_init(struct qxl_device *qdev) qfbdev->helper.funcs = &qxl_fb_helper_funcs; ret = drm_fb_helper_init(qdev->ddev, &qfbdev->helper, - 1 /* num_crtc - QXL supports just 1 */, + qxl_num_crtc /* num_crtc - QXL supports just 1 */, QXLFB_CONN_LIMIT); if (ret) { kfree(qfbdev); |