nvc0: support for GP10B

Submitted by Alexandre Courbot on March 30, 2017, 10:05 a.m.

Details

Message ID 20170330100557.27806-1-acourbot@nvidia.com
State New
Headers show
Series "nvc0: support for GP10B" ( rev: 1 ) in Nouveau

Not browsing as part of any series.

Commit Message

Alexandre Courbot March 30, 2017, 10:05 a.m.
GP10B uses the same 3D class as GP100.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
---
 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index 3e4c4f44ba92..c9042fc00447 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -903,6 +903,7 @@  nvc0_screen_create(struct nouveau_device *dev)
    case 0x130:
       switch (dev->chipset) {
       case 0x130:
+      case 0x13b:
          obj_class = GP100_3D_CLASS;
          break;
       default:

Comments

How about piglit? :)

Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>

On 03/30/2017 12:05 PM, Alexandre Courbot wrote:
> GP10B uses the same 3D class as GP100.
>
> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
> ---
>  src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> index 3e4c4f44ba92..c9042fc00447 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> @@ -903,6 +903,7 @@ nvc0_screen_create(struct nouveau_device *dev)
>     case 0x130:
>        switch (dev->chipset) {
>        case 0x130:
> +      case 0x13b:
>           obj_class = GP100_3D_CLASS;
>           break;
>        default:
>