All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Damien Lespiau <damien.lespiau@intel.com>
To: "Antoine, Peter" <peter.antoine@intel.com>
Cc: "intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>,
	"daniel.vetter.intel.com@irsmsx102.ger.corp.intel.com"
	<daniel.vetter.intel.com@irsmsx102.ger.corp.intel.com>
Subject: Re: [PATCH v5] drm/i915 : Added Programming of the MOCS
Date: Thu, 18 Jun 2015 16:25:47 +0100	[thread overview]
Message-ID: <20150618152547.GB29117@strange.ger.corp.intel.com> (raw)
In-Reply-To: <C182EC90AE29B54BB712270726FAFA75010B0EE6@IRSMSX102.ger.corp.intel.com>

>>On Thu, Jun 18, 2015 at 03:45:44PM +0100, Antoine, Peter wrote:
>> So, intializing the other (non-render) MOCS in gen8_init_rcs_context()
>> isn't the most logical thing to do I'm afraid. What happens if we
>> suddenly decide that we don't want to fully initialize the default
>> context at startup but initialize each ring on-demand for that context
>> as well? We can end up in a situation where we use the blitter first
>> and we wouldn't have the blitter MOCS initialized.
>> 
>> In that sense, that code makes an assumption about how we do things in
>> a completely different part of the driver and that's always a
>> potential source of bugs.
>> 
>
>Yes, but this is the same with the golden context and the workarounds
>(as I understand it) so all this code would have to be moved. 

Ah, but the workarounds in that function are only for registers in the
render context, not other rings/engine.

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

  reply	other threads:[~2015-06-18 15:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18 12:29 [PATCH v5] drm/i915 : Added Programming of the MOCS Peter Antoine
2015-06-18 12:59 ` Chris Wilson
2015-06-18 13:50 ` Damien Lespiau
2015-06-18 14:45   ` Antoine, Peter
2015-06-18 15:25     ` Damien Lespiau [this message]
2015-06-18 15:35       ` chris
2015-06-18 15:50     ` Damien Lespiau
2015-06-19  6:34       ` Antoine, Peter
2015-06-22 13:50         ` Daniel Vetter

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=20150618152547.GB29117@strange.ger.corp.intel.com \
    --to=damien.lespiau@intel.com \
    --cc=daniel.vetter.intel.com@irsmsx102.ger.corp.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=peter.antoine@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.