]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: Remove use_mmio_flip modparm, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 4 Oct 2017 09:44:16 +0000 (11:44 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 4 Oct 2017 13:51:09 +0000 (15:51 +0200)
This has been unused since commit afa8ce5b3080
("drm/i915: Nuke legacy flip queueing code").

Changes since v1:
- Rebase on top of all the changes to modparams.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
\o/-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171004094416.31306-1-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/i915_params.c
drivers/gpu/drm/i915/i915_params.h
drivers/gpu/drm/i915/intel_lrc.c

index 9dff323a83d3e556807e91dd57f99f36635db6d6..b4faeb6aa2bdc5c9d12210bd114d7856dd183061 100644 (file)
@@ -146,9 +146,6 @@ i915_param_named(disable_display, bool, 0400,
 i915_param_named_unsafe(enable_cmd_parser, bool, 0400,
        "Enable command parsing (true=enabled [default], false=disabled)");
 
-i915_param_named_unsafe(use_mmio_flip, int, 0600,
-       "use MMIO flips (-1=never, 0=driver discretion [default], 1=always)");
-
 i915_param_named(mmio_debug, int, 0600,
        "Enable the MMIO debug code for the first N failures (default: off). "
        "This may negatively affect performance.");
index 4f3f8d6501945ac8b0bf521fecbf20a9488c00da..c7292268ed43917040cc64273ea31b09005a2c79 100644 (file)
@@ -49,7 +49,6 @@
        param(int, guc_log_level, -1) \
        param(char *, guc_firmware_path, NULL) \
        param(char *, huc_firmware_path, NULL) \
-       param(int, use_mmio_flip, 0) \
        param(int, mmio_debug, 0) \
        param(int, edp_vswing, 0) \
        param(int, reset, 2) \
index 7d6da130b184a4a9696d50024428eb96f6b7c8a0..6ea5ecf0823008b956e02a0ffc72111973ce8ac6 100644 (file)
@@ -244,8 +244,7 @@ int intel_sanitize_enable_execlists(struct drm_i915_private *dev_priv, int enabl
                return 0;
 
        if (HAS_LOGICAL_RING_CONTEXTS(dev_priv) &&
-           USES_PPGTT(dev_priv) &&
-           i915_modparams.use_mmio_flip >= 0)
+           USES_PPGTT(dev_priv))
                return 1;
 
        return 0;