diff mbox

[RFC,08/44] drm/i915: Added GPU scheduler config option

Message ID 1403803475-16337-9-git-send-email-John.C.Harrison@Intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

John Harrison June 26, 2014, 5:23 p.m. UTC
From: John Harrison <John.C.Harrison@Intel.com>

Added a Kconfig option for enabling/disabling the GPU scheduler.
---
 drivers/gpu/drm/i915/Kconfig |    8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Daniel Vetter July 7, 2014, 6:58 p.m. UTC | #1
On Thu, Jun 26, 2014 at 06:23:59PM +0100, John.C.Harrison@Intel.com wrote:
> From: John Harrison <John.C.Harrison@Intel.com>
> 
> Added a Kconfig option for enabling/disabling the GPU scheduler.
> ---
>  drivers/gpu/drm/i915/Kconfig |    8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig
> index 437e182..22a036b 100644
> --- a/drivers/gpu/drm/i915/Kconfig
> +++ b/drivers/gpu/drm/i915/Kconfig
> @@ -81,3 +81,11 @@ config DRM_I915_UMS
>  	  enable this only if you have ancient versions of the DDX drivers.
>  
>  	  If in doubt, say "N".
> +
> +config DRM_I915_SCHEDULER
> +	bool "Enable GPU scheduler on Intel hardware"
> +	depends on DRM_I915
> +	default y
> +	help
> +	  Choose this option to enable GPU task scheduling for improved
> +	  performance and efficiency.

NACK. We ship one driver in one well tested config, everything else is a
nightmare. There's very few exceptions (currently MMU_NOTIFIER and
optional FBDEV support which have some really good reasons attached to
them). And I'm still grumpy about the MMU_NOTIFIER one ;-)
-Daniel
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig
index 437e182..22a036b 100644
--- a/drivers/gpu/drm/i915/Kconfig
+++ b/drivers/gpu/drm/i915/Kconfig
@@ -81,3 +81,11 @@  config DRM_I915_UMS
 	  enable this only if you have ancient versions of the DDX drivers.
 
 	  If in doubt, say "N".
+
+config DRM_I915_SCHEDULER
+	bool "Enable GPU scheduler on Intel hardware"
+	depends on DRM_I915
+	default y
+	help
+	  Choose this option to enable GPU task scheduling for improved
+	  performance and efficiency.