All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ye, Tony" <tony.ye@intel.com>
To: Michal Wajdeczko <michal.wajdeczko@intel.com>,
	intel-gfx@lists.freedesktop.org,
	Joonas Lahtinen <joonas.lahtinen@linux.intel.com>,
	Anusha Srivatsa <anusha.srivatsa@intel.com>
Subject: Re: [PATCH 2/2] drm/i915/guc: Turn on GuC/HuC auto mode
Date: Thu, 11 Jul 2019 12:24:41 +0800	[thread overview]
Message-ID: <a264fa8f-28a2-128f-bdc2-8803868d870e@intel.com> (raw)
In-Reply-To: <op.z4ptu00mxaggs7@mwajdecz-mobl1.ger.corp.intel.com>


On 7/10/2019 10:27 PM, Michal Wajdeczko wrote:
> On Tue, 09 Jul 2019 16:17:02 +0200, Joonas Lahtinen
> <joonas.lahtinen@linux.intel.com> wrote:
>
>> Better subject would be: "Enable HuC (through GuC) on supported 
>> platforms"
>
> Such subject sounds better, but on one hand it does not reflect real
> code change (since we are not explicitly enabling HuC, but instead we
> are just letting the driver enable GuC/HuC to whatever mode it decides),
> but on other hand this is what actual outcome of the change is (as i915
> currently enables GuC loading with HuC authentication on every platform
> where corresponding firmwares are defined/available, and nothing more).
>
> Please confirm if you still opt-in to use your subject.
>
>>
>> Quoting Michal Wajdeczko (2019-07-03 14:36:40)
>>> GuC firmware is now mature, so let it run by default.
>>
>> That's bit of a misleading statement (in more than one way).
>
> It's mature enough to perform HuC authentication, and we
> don't expect more from it ;)
>
>>
>> "Enable loading HuC firmware (through GuC) to unlock
>> advanced video codecs on supported platforms.
>>
>> GuC firmware is required to authenticate the HuC firmware,
>> which is a requirement for it to operate."
>
> To some extend this duplicates existing "DOC: HuC Firmware"
> Do we need to repeat that again here?
>
>>
>> Has the most recent firmware been merged to linux-firmware and
>> is it present in our CI systems?
>
> My understanding is: No and Yes.
> Maybe Anusha can provide more details here.
>
>>
>> It would also be good to list what kind of tests have been run
>> to ensure that there are no regressions,
>
> I'm afraid on IGT level we don't have HuC tests.
> But media team was using modparam override to force GuC/HuC for
> a while, Tony do you have such test list/results handy?

HuC functionality has been tested with AVC VDENC/HEVC VDENC/VP9VDENC 
encoding test cases in regular CI.

Thanks, -Tony

>
>> and which platforms
>> this change affects.
>
> This change affects all platforms where we have GuC/HuC firmwares
> defined, so: SKL, BXT, KBL, CFL, ICL.
>
> Note that we'll still have possibility to tweak that inside
> driver, as auto mode is just moving responsibility what can
> be enabled from the user to the i915.
>
>>
>> Regards, Joonas
>>
>>> Note that today GuC is only used for HuC authentication.
>>>
>>> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
>>> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
>>> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
>>> Cc: Chris Wilson <chris@chris-wilson.co.uk>
>>> ---
>>>  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-11  4:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2019-07-03 15:21 ` ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915/guc: Upgrade to GuC 33.0.0 Patchwork
2019-07-03 21:50 ` [PATCH 1/2] " Daniele Ceraolo Spurio
2019-07-04 15:47 ` ✓ Fi.CI.IGT: success for series starting with [1/2] " Patchwork
2019-07-12 11:14 [PATCH 0/2] Enable HuC by default for Gen11+ Michal Wajdeczko
2019-07-12 11:14 ` [PATCH 2/2] drm/i915/guc: Turn on GuC/HuC auto mode Michal Wajdeczko
2019-07-12 11:25   ` Joonas Lahtinen
2019-07-12 11:29   ` Rodrigo Vivi
2019-07-12 13:44     ` Chris Wilson

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=a264fa8f-28a2-128f-bdc2-8803868d870e@intel.com \
    --to=tony.ye@intel.com \
    --cc=anusha.srivatsa@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=joonas.lahtinen@linux.intel.com \
    --cc=michal.wajdeczko@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.