All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Wajdeczko <michal.wajdeczko@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: Jani Nikula <jani.nikula@intel.com>
Subject: [PATCH 2/2] drm/i915/guc: Turn on GuC/HuC auto mode
Date: Fri, 12 Jul 2019 11:14:45 +0000	[thread overview]
Message-ID: <20190712111445.21040-3-michal.wajdeczko@intel.com> (raw)
In-Reply-To: <20190712111445.21040-1-michal.wajdeczko@intel.com>

Using "enable_guc" modparam auto mode (-1) will let driver
decide on which platforms and in which configuration we want
to use GuC/HuC firmwares.

Today driver will enable HuC firmware authentication by GuC
only on Gen11+ platforms as HuC firmware is required to unlock
advanced video codecs in media driver.

Legacy platforms with GuC/HuC are not affected by this change
as for them driver still defaults to disabled(0) in auto mode.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
---
 drivers/gpu/drm/i915/i915_params.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_params.h b/drivers/gpu/drm/i915/i915_params.h
index d29ade3b7de6..5736c55694fe 100644
--- a/drivers/gpu/drm/i915/i915_params.h
+++ b/drivers/gpu/drm/i915/i915_params.h
@@ -54,7 +54,7 @@ struct drm_printer;
 	param(int, disable_power_well, -1) \
 	param(int, enable_ips, 1) \
 	param(int, invert_brightness, 0) \
-	param(int, enable_guc, 0) \
+	param(int, enable_guc, -1) \
 	param(int, guc_log_level, -1) \
 	param(char *, guc_firmware_path, NULL) \
 	param(char *, huc_firmware_path, NULL) \
-- 
2.19.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2019-07-12 11:15 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-12 11:14 [PATCH 0/2] Enable HuC by default for Gen11+ Michal Wajdeczko
2019-07-12 11:14 ` [PATCH 1/2] drm/i915/guc: Don't enable GuC/HuC in auto mode on pre-Gen11 Michal Wajdeczko
2019-07-12 11:24   ` Joonas Lahtinen
2019-07-12 11:28   ` Rodrigo Vivi
2019-07-12 11:14 ` Michal Wajdeczko [this message]
2019-07-12 11:25   ` [PATCH 2/2] drm/i915/guc: Turn on GuC/HuC auto mode Joonas Lahtinen
2019-07-12 11:29   ` Rodrigo Vivi
2019-07-12 13:44     ` Chris Wilson
2019-07-12 12:48 ` ✓ Fi.CI.BAT: success for Enable HuC by default for Gen11+ Patchwork
2019-07-13 22:29 ` ✓ Fi.CI.IGT: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2019-07-03 11:36 [PATCH 1/2] drm/i915/guc: Upgrade to GuC 33.0.0 Michal Wajdeczko
2019-07-03 11:36 ` [PATCH 2/2] drm/i915/guc: Turn on GuC/HuC auto mode Michal Wajdeczko
2019-07-03 11:40   ` Chris Wilson
2019-07-03 13:02     ` Michal Wajdeczko
2019-07-04 15:59       ` Chris Wilson
2019-07-09 14:17   ` Joonas Lahtinen
2019-07-10 14:27     ` Michal Wajdeczko
2019-07-10 17:51       ` Srivatsa, Anusha
2019-07-11  4:24       ` Ye, Tony

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=20190712111445.21040-3-michal.wajdeczko@intel.com \
    --to=michal.wajdeczko@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.