public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: John Harrison <John.C.Harrison@Intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>,
	intel-gfx@lists.freedesktop.org,
	Jesse Barnes <jbarnes@virtuousgeek.org>,
	Daniel Vetter <daniel.vetter@ffwll.ch>,
	Damien Lespiau <damien.lespiau@intel.com>,
	Oscar Mateo <oscar.mateo@intel.com>,
	Brad Volkin <bradley.d.volkin@intel.com>,
	"Kukanova, Svetlana" <svetlana.kukanova@intel.com>,
	Akash Goel <akash.goel@intel.com>,
	"Daniel, Thomas" <thomas.daniel@intel.com>,
	"Siluvery, Arun" <arun.siluvery@linux.intel.com>
Subject: Re: [PATCH 2/3] drm/i915: s/seqno/request/ tracking inside objects
Date: Thu, 11 Sep 2014 12:51:37 +0100	[thread overview]
Message-ID: <54118CC9.2060007@Intel.com> (raw)
In-Reply-To: <20140911065108.GC28332@nuc-i3427.alporthouse.com>


[-- Attachment #1.1: Type: text/plain, Size: 1698 bytes --]

Will the PPGTT fix be sent out soon? If not, can you just send me a 
quick fix directly?

Also, noticed that in 'submit_execbuf()', if the 'copy_from_user()' call 
fails then it jumps to the error return but does not set 'ret' thus will 
actually return success. Also, there seems to be a mix of 'goto error' 
vs 'return E*'. In general it looks like you do the goto only after 'rq' 
has been allocated but there are a couple of places that do the jump 
with a null 'rq'. The code will cope with trying to put a null rq but it 
seems a bit inconsistent.


Thanks,
John.

On 11/09/2014 07:51, Chris Wilson wrote:
> On Tue, Sep 09, 2014 at 03:14:29PM +0100, John Harrison wrote:
>> I pulled a fresh tree on Monday and applied this set of patches.
>> There were two conflicts. It looks like nightly does not have
>> 'i915_gem_context_setparam_ioctl' yet but the tree the patches came
>> from does. Also, my tree has 'DRM_I915_CTX_BAN_PERIOD' instead of
>> 'ctx->hang_stats.ban_period_seconds'.
> A couple of patches earlier in the week with which I have been using for
> stress testing the hangcheck and capture paths.
>   
>> However, I can only boot if I have both execlists and PPGTT
>> disabled. With just PPGTT enabled, I get continuous GPU hangs and
>> nothing ever gets rendered. With execlists enabled, I get a null
>> pointer dereference in 'execlists_get_ring'. With both disabled, I
>> can boot to an Ubuntu desktop but shortly after it goes pop with
>> 'BUG_ON(obj->active == 0)' in 'i915_gem_object_retire__read'.
> Fixed full-ppgtt, rather trivial oversight. But for lack of hardware
> and simulator, I haven't been able to run on bdw, so execlists is only
> compile tested.
> -Chris
>


[-- Attachment #1.2: Type: text/html, Size: 23222 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

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

  reply	other threads:[~2014-09-11 11:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-06  9:28 [PATCH 1/3] drm/i915: Remove DRI1 ring accessors and API Chris Wilson
2014-09-06  9:28 ` [PATCH 2/3] drm/i915: s/seqno/request/ tracking inside objects Chris Wilson
2014-09-09 14:14   ` John Harrison
2014-09-11  6:51     ` Chris Wilson
2014-09-11 11:51       ` John Harrison [this message]
2014-09-11 12:01         ` Chris Wilson
2014-09-06  9:28 ` [PATCH 3/3] drm/i915/rq: Ironlake is coherent for MI_STORE_DWORD 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=54118CC9.2060007@Intel.com \
    --to=john.c.harrison@intel.com \
    --cc=akash.goel@intel.com \
    --cc=arun.siluvery@linux.intel.com \
    --cc=bradley.d.volkin@intel.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=damien.lespiau@intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jbarnes@virtuousgeek.org \
    --cc=oscar.mateo@intel.com \
    --cc=svetlana.kukanova@intel.com \
    --cc=thomas.daniel@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