nve0/ppp: enable support via nvc0's implementation
NVIDIA also appear to use the same class on Fermi/Kepler for PPP. Will allow use of the engine if firmware (nvXX_fuc086) provided. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
4a7950140b
commit
fb9bff26f1
|
@ -47,6 +47,7 @@
|
||||||
#include <engine/copy.h>
|
#include <engine/copy.h>
|
||||||
#include <engine/bsp.h>
|
#include <engine/bsp.h>
|
||||||
#include <engine/vp.h>
|
#include <engine/vp.h>
|
||||||
|
#include <engine/ppp.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
nve0_identify(struct nouveau_device *device)
|
nve0_identify(struct nouveau_device *device)
|
||||||
|
@ -78,6 +79,7 @@ nve0_identify(struct nouveau_device *device)
|
||||||
device->oclass[NVDEV_ENGINE_COPY1 ] = &nve0_copy1_oclass;
|
device->oclass[NVDEV_ENGINE_COPY1 ] = &nve0_copy1_oclass;
|
||||||
device->oclass[NVDEV_ENGINE_BSP ] = &nve0_bsp_oclass;
|
device->oclass[NVDEV_ENGINE_BSP ] = &nve0_bsp_oclass;
|
||||||
device->oclass[NVDEV_ENGINE_VP ] = &nve0_vp_oclass;
|
device->oclass[NVDEV_ENGINE_VP ] = &nve0_vp_oclass;
|
||||||
|
device->oclass[NVDEV_ENGINE_PPP ] = &nvc0_ppp_oclass;
|
||||||
break;
|
break;
|
||||||
case 0xe7:
|
case 0xe7:
|
||||||
device->cname = "GK107";
|
device->cname = "GK107";
|
||||||
|
@ -105,6 +107,7 @@ nve0_identify(struct nouveau_device *device)
|
||||||
device->oclass[NVDEV_ENGINE_COPY1 ] = &nve0_copy1_oclass;
|
device->oclass[NVDEV_ENGINE_COPY1 ] = &nve0_copy1_oclass;
|
||||||
device->oclass[NVDEV_ENGINE_BSP ] = &nve0_bsp_oclass;
|
device->oclass[NVDEV_ENGINE_BSP ] = &nve0_bsp_oclass;
|
||||||
device->oclass[NVDEV_ENGINE_VP ] = &nve0_vp_oclass;
|
device->oclass[NVDEV_ENGINE_VP ] = &nve0_vp_oclass;
|
||||||
|
device->oclass[NVDEV_ENGINE_PPP ] = &nvc0_ppp_oclass;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
nv_fatal(device, "unknown Kepler chipset\n");
|
nv_fatal(device, "unknown Kepler chipset\n");
|
||||||
|
|
Loading…
Reference in New Issue