drm/nv40/graph: fix typo in type names
nv04_graph_priv / nv04_graph_chan are not defined in this context... Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
479dd56705
commit
a4dd4ec250
|
@ -156,8 +156,8 @@ nv40_graph_context_ctor(struct nouveau_object *parent,
|
||||||
static int
|
static int
|
||||||
nv40_graph_context_fini(struct nouveau_object *object, bool suspend)
|
nv40_graph_context_fini(struct nouveau_object *object, bool suspend)
|
||||||
{
|
{
|
||||||
struct nv04_graph_priv *priv = (void *)object->engine;
|
struct nv40_graph_priv *priv = (void *)object->engine;
|
||||||
struct nv04_graph_chan *chan = (void *)object;
|
struct nv40_graph_chan *chan = (void *)object;
|
||||||
u32 inst = 0x01000000 | nv_gpuobj(chan)->addr >> 4;
|
u32 inst = 0x01000000 | nv_gpuobj(chan)->addr >> 4;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue