Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1209507

[PATCH v2 5/7] drm/vc4: Allow vblank to be disabled

From Eric Anholt <eric@anholt.net>
Newsgroups linux.kernel
Subject [PATCH v2 5/7] drm/vc4: Allow vblank to be disabled
Date 2015-08-19 00:00 +0200
Message-ID <pYX5g-2Dz-27@gated-at.bofh.it> (permalink)
References <pYX5f-2Dz-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Derek Foreman <derekf@osg.samsung.com>

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
---
 drivers/gpu/drm/vc4/vc4_kms.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/vc4/vc4_kms.c b/drivers/gpu/drm/vc4/vc4_kms.c
index a34439f..f881cd4 100644
--- a/drivers/gpu/drm/vc4/vc4_kms.c
+++ b/drivers/gpu/drm/vc4/vc4_kms.c
@@ -77,6 +77,8 @@ int vc4_kms_load(struct drm_device *dev)
 	dev->mode_config.funcs = &vc4_mode_funcs;
 	dev->mode_config.preferred_depth = 24;
 
+	dev->vblank_disable_allowed = true;
+
 	ret = vc4_init_modeset_objects(dev);
 	if (ret)
 		goto fail;
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Raspberry Pi KMS-only driver V2 Eric Anholt <eric@anholt.net> - 2015-08-19 00:00 +0200
  [PATCH v2 2/7] MAINTAINERS: Add myself for the new VC4 (RPi GPU) graphics driver. Eric Anholt <eric@anholt.net> - 2015-08-19 00:00 +0200
  [PATCH v2 7/7] ARM: bcm2835: Add VC4 to the device tree. Eric Anholt <eric@anholt.net> - 2015-08-19 00:00 +0200
    Re: [PATCH v2 7/7] ARM: bcm2835: Add VC4 to the device tree. Stephen Warren <swarren@wwwdotorg.org> - 2015-08-26 04:10 +0200
  [PATCH v2 1/7] drm/vc4: Add devicetree bindings for VC4. Eric Anholt <eric@anholt.net> - 2015-08-19 00:00 +0200
    Re: [PATCH v2 1/7] drm/vc4: Add devicetree bindings for VC4. Stefan Wahren <info@lategoodbye.de> - 2015-08-19 23:00 +0200
    Re: [PATCH v2 1/7] drm/vc4: Add devicetree bindings for VC4. Luc Verhaegen <libv@skynet.be> - 2015-08-26 11:50 +0200
  [PATCH v2 5/7] drm/vc4: Allow vblank to be disabled Eric Anholt <eric@anholt.net> - 2015-08-19 00:00 +0200
  [PATCH v2 4/7] drm/vc4: Use the fbdev_cma helpers Eric Anholt <eric@anholt.net> - 2015-08-19 00:00 +0200
  Re: [PATCH v2 3/7] drm/vc4: Add KMS support for Raspberry Pi. Stefan Wahren <info@lategoodbye.de> - 2015-08-19 23:40 +0200

csiph-web