drm/nvf0/gr: enable support, if external cs ucode is available
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@@ -1132,7 +1132,8 @@ nvc0_graph_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
|
|||||||
struct nvc0_graph_priv *priv;
|
struct nvc0_graph_priv *priv;
|
||||||
int ret, i;
|
int ret, i;
|
||||||
|
|
||||||
ret = nouveau_graph_create(parent, engine, bclass, true, &priv);
|
ret = nouveau_graph_create(parent, engine, bclass,
|
||||||
|
(oclass->fecs.ucode != NULL), &priv);
|
||||||
*pobject = nv_object(priv);
|
*pobject = nv_object(priv);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
@@ -30,6 +30,10 @@
|
|||||||
|
|
||||||
static struct nouveau_oclass
|
static struct nouveau_oclass
|
||||||
nvf0_graph_sclass[] = {
|
nvf0_graph_sclass[] = {
|
||||||
|
{ 0x902d, &nouveau_object_ofuncs },
|
||||||
|
{ 0xa140, &nouveau_object_ofuncs },
|
||||||
|
{ 0xa197, &nouveau_object_ofuncs },
|
||||||
|
{ 0xa1c0, &nouveau_object_ofuncs },
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user