All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Morell <rmorell-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org>
Cc: "nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
	<nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>,
	gpu-public-documentation
	<gpu-public-documentation-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Subject: Re: Fermi+ shader header docs
Date: Thu, 21 May 2015 07:05:16 -0700	[thread overview]
Message-ID: <20150521140516.GA8516@morell.nvidia.com> (raw)
In-Reply-To: <CAKb7Uvj=oisrfyGoehZFLtzWD38Nx_j435K2uZ9O5S8RXFayBw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hi Ilia,

On Sat, May 02, 2015 at 12:34:21PM -0400, Ilia Mirkin wrote:
> Hi,
> 
> As I'm looking to add some support to nouveau for features like atomic
> counters and images, I'm running into some confusion about what the
> first word of the shader header means. Here is the definition as we
> have it today:

[...]

> However I know that these are somewhat wrong. I've seen shaders that
> use gmem accesses (i.e. mov r0, [r0]) that just have the LMEM enable
> bit set (and they use no lmem). And I've seen additional bits set, esp
> relating to images, but I haven't spent enough time looking at all the
> variations to make sense of it yet. For example, I think that Fermi
> and Kepler+ have different meanings for some of the bits.

Those look pretty close :)

> I was hoping you could just release the docs for the shader headers,
> or at least the first word of the shader header.

We've posted the specification for the full Shader Program Header to our
GPU documentation site here:

ftp://download.nvidia.com/open-gpu-doc/Shader-Program-Header/1/Shader-Program-Header.html

I hope it helps clear things up.

- Robert
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

  parent reply	other threads:[~2015-05-21 14:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-02 16:34 Fermi+ shader header docs Ilia Mirkin
     [not found] ` <CAKb7Uvj=oisrfyGoehZFLtzWD38Nx_j435K2uZ9O5S8RXFayBw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-21 14:05   ` Robert Morell [this message]
     [not found]     ` <20150521140516.GA8516-f3YH7lVHJt/FT5IIyIEb6QC/G2K4zDHf@public.gmane.org>
2015-05-21 15:32       ` Ilia Mirkin
     [not found]         ` <CAKb7UvgQRqh_8gBWmRJska-O-wR=+R8eaf9815FBv-Z0erjQ9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-23 21:35           ` Ilia Mirkin
     [not found]             ` <CAKb7Uvik6eNQtAyAR7oRZm50z15Z1S2onWkuNH-bHbWJt5Wkkw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-06-23  1:10               ` Ilia Mirkin
     [not found]                 ` <CAKb7UviyZGJtxQXpbWqY1Hf4rzBW3oC2p9Yif_52L+7SqNpjkA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-14 19:48                   ` Ilia Mirkin

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=20150521140516.GA8516@morell.nvidia.com \
    --to=rmorell-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
    --cc=gpu-public-documentation-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /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.