public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>,
	Intel-gfx@lists.freedesktop.org,
	Dave Gordon <david.s.gordon@intel.com>
Subject: Re: [PATCH] drm/i915/guc: Disable automatic GuC firmware loading
Date: Tue, 24 May 2016 12:27:29 +0100	[thread overview]
Message-ID: <57443AA1.40501@linux.intel.com> (raw)
In-Reply-To: <20160524111231.GE15901@nuc-i3427.alporthouse.com>


On 24/05/16 12:12, Chris Wilson wrote:
> On Mon, May 23, 2016 at 04:34:35PM +0100, Tvrtko Ursulin wrote:
>> From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>>
>> New GuC code is logging errors at runtime suspend and resume which
>> causes CI testing to log "orange" status. Default to not trying to
>> load the firmware until this is resolved.
>>
>> Example of the log:
>>
>>   [drm] RC6 on
>>   [drm:intel_runtime_suspend] Suspending device
>>   [drm:host2guc_action [i915]] *ERROR* GUC: host2guc action 0x501 failed. ret=-110 status=0x00000501 response=0x40000000
>>   ...
>>   [drm:intel_runtime_resume] Resuming device
>>   [drm:host2guc_action [i915]] *ERROR* GUC: host2guc action 0x502 failed. ret=-110 status=0x00000502 response=0x40000000
>>   [drm:intel_runtime_resume] Device resumed
>>
>> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>> Cc: Dave Gordon <david.s.gordon@intel.com>
>> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
>> Cc: Chris Harris <chris.harris@intel.com>
>> ---
>>   drivers/gpu/drm/i915/i915_params.c | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/i915/i915_params.c b/drivers/gpu/drm/i915/i915_params.c
>> index 21a323c01cdb..9a5d58b251f5 100644
>> --- a/drivers/gpu/drm/i915/i915_params.c
>> +++ b/drivers/gpu/drm/i915/i915_params.c
>> @@ -53,7 +53,7 @@ struct i915_params i915 __read_mostly = {
>>   	.verbose_state_checks = 1,
>>   	.nuclear_pageflip = 0,
>>   	.edp_vswing = 0,
>> -	.enable_guc_loading = -1,
>> +	.enable_guc_loading = 0,
>>   	.enable_guc_submission = 0,
>>   	.guc_log_level = -1,
>>   	.enable_dp_mst = true,
>> @@ -197,7 +197,7 @@ MODULE_PARM_DESC(edp_vswing,
>>   module_param_named_unsafe(enable_guc_loading, i915.enable_guc_loading, int, 0400);
>>   MODULE_PARM_DESC(enable_guc_loading,
>>   		"Enable GuC firmware loading "
>> -		"(-1=auto [default], 0=never, 1=if available, 2=required)");
>> +		"(-1=auto, 0=never [default], 1=if available, 2=required)");
>>
>>   module_param_named_unsafe(enable_guc_submission, i915.enable_guc_submission, int, 0400);
>>   MODULE_PARM_DESC(enable_guc_submission,
>
> Patch does what it says on the tin,
> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
>
> Not thrilled by the [soft] ABI of i915.enable_guc_loading though.
> That looks like an internal dependency of various GuC enabled features
> and not a standalone feature that the user should be controlling.

Merged, thanks for the patch and review.

Wider discussion on params I suppose when Dave gets back.

Regards,

Tvrtko

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

      reply	other threads:[~2016-05-24 11:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-23 15:34 [PATCH] drm/i915/guc: Disable automatic GuC firmware loading Tvrtko Ursulin
2016-05-24  5:50 ` ✗ Ro.CI.BAT: failure for " Patchwork
2016-05-24 10:40   ` Tvrtko Ursulin
2016-05-24 11:12 ` [PATCH] " Chris Wilson
2016-05-24 11:27   ` Tvrtko Ursulin [this message]

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=57443AA1.40501@linux.intel.com \
    --to=tvrtko.ursulin@linux.intel.com \
    --cc=Intel-gfx@lists.freedesktop.org \
    --cc=chris@chris-wilson.co.uk \
    --cc=david.s.gordon@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox