All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PATCH] gallium/nv50: use 0x8697 class on NVAF
Date: Fri, 4 Mar 2011 17:50:17 +0100	[thread overview]
Message-ID: <20110304165017.GB2743@joi.lan> (raw)
In-Reply-To: <20110222173240.GA9687-OI9uyE9O0yo@public.gmane.org>

On Tue, Feb 22, 2011 at 06:32:40PM +0100, Marcin Slusarz wrote:
> Addresses: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/723012
> 
> Reported-and-tested-by: Alan Pope
> ---
>  src/gallium/drivers/nv50/nv50_reg.h    |    4 ++++
>  src/gallium/drivers/nv50/nv50_screen.c |    3 +++
>  2 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/src/gallium/drivers/nv50/nv50_reg.h b/src/gallium/drivers/nv50/nv50_reg.h
> index 949838b..90d77e5 100644
> --- a/src/gallium/drivers/nv50/nv50_reg.h
> +++ b/src/gallium/drivers/nv50/nv50_reg.h
> @@ -1685,6 +1685,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
>  
>  
>  
> +#define NVAFTCL										0x00008697
> +
> +
> +
>  #define NV50_COMPUTE									0x000050c0
>  
>  #define  NV50_COMPUTE_NOP								0x00000100
> diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c
> index edc3d54..8069509 100644
> --- a/src/gallium/drivers/nv50/nv50_screen.c
> +++ b/src/gallium/drivers/nv50/nv50_screen.c
> @@ -389,6 +389,9 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
>  		case 0xac:
>  			tesla_class = NVA0TCL;
>  			break;
> +		case 0xaf:
> +			tesla_class = NVAFTCL;
> +			break;
>  		default:
>  			tesla_class = NVA8TCL;
>  			break;
> -- 
> 1.7.4.rc3
> 

ping

if it's wrong for some reason, just say so...

  parent reply	other threads:[~2011-03-04 16:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-22 17:32 [PATCH] gallium/nv50: use 0x8697 class on NVAF Marcin Slusarz
     [not found] ` <20110222173240.GA9687-OI9uyE9O0yo@public.gmane.org>
2011-03-04 16:50   ` Marcin Slusarz [this message]
     [not found]     ` <20110304165017.GB2743-OI9uyE9O0yo@public.gmane.org>
2011-03-07 18:15       ` Maarten Maathuis
     [not found]         ` <AANLkTinJdfL13yT3hze+5vj8Kv9cAxCsF-4YCJt9Hebv-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-03-07 18:28           ` Marcin Slusarz

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=20110304165017.GB2743@joi.lan \
    --to=marcin.slusarz-re5jqeeqqe8avxtiumwx3w@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.