public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH 1/5] drm/i915: add fastboot param for fast & loose mode setting
Date: Wed, 26 Jun 2013 01:38:15 +0300	[thread overview]
Message-ID: <1372199899-5315-2-git-send-email-jbarnes@virtuousgeek.org> (raw)
In-Reply-To: <1372199899-5315-1-git-send-email-jbarnes@virtuousgeek.org>

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
 drivers/gpu/drm/i915/i915_drv.c |    5 +++++
 drivers/gpu/drm/i915/i915_drv.h |    1 +
 2 files changed, 6 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 4a4ec86..226d4d7 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -132,6 +132,11 @@ int i915_enable_ips __read_mostly = 1;
 module_param_named(enable_ips, i915_enable_ips, int, 0600);
 MODULE_PARM_DESC(enable_ips, "Enable IPS (default: true)");
 
+bool i915_fastboot __read_mostly = 0;
+module_param_named(fastboot, i915_fastboot, bool, 0600);
+MODULE_PARM_DESC(fastboot, "Try to skip unnecessary mode sets at boot time "
+		 "(default: false)");
+
 static struct drm_driver driver;
 extern int intel_agp_enabled;
 
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 491958e..4bbff22 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1543,6 +1543,7 @@ extern int i915_enable_ppgtt __read_mostly;
 extern unsigned int i915_preliminary_hw_support __read_mostly;
 extern int i915_disable_power_well __read_mostly;
 extern int i915_enable_ips __read_mostly;
+extern bool i915_fastboot __read_mostly;
 
 extern int i915_suspend(struct drm_device *dev, pm_message_t state);
 extern int i915_resume(struct drm_device *dev);
-- 
1.7.9.5

  reply	other threads:[~2013-06-25 22:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-25 22:38 Moar fastboot Jesse Barnes
2013-06-25 22:38 ` Jesse Barnes [this message]
2013-06-25 22:38 ` [PATCH 2/5] drm/i915: get mode clock when reading the pipe config v7 Jesse Barnes
2013-06-26 11:37   ` Daniel Vetter
2013-06-26 15:57   ` [PATCH] drm/i915: get mode clock when reading the pipe config v8 Jesse Barnes
2013-06-26 21:39     ` [PATCH] drm/i915: get mode clock when reading the pipe config v9 Jesse Barnes
2013-06-25 22:38 ` [PATCH 3/5] drm/i915: copy fetched mode state into crtc at setup_hw time v4 Jesse Barnes
2013-06-26 11:37   ` Chris Wilson
2013-06-26 15:57   ` [PATCH] drm/i915: copy fetched mode state into crtc at setup_hw time v5 Jesse Barnes
2013-06-25 22:38 ` [PATCH 4/5] drm/i915: turn off panel fitting at flip time if needed v2 Jesse Barnes
2013-06-25 22:38 ` [PATCH 5/5] drm/i915: flip on a no fb -> fb transition if crtc is active v3 Jesse Barnes
2013-06-30 19:33   ` Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1372199899-5315-2-git-send-email-jbarnes@virtuousgeek.org \
    --to=jbarnes@virtuousgeek.org \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox