Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329663
b: refs/heads/master
c: 757833c
h: refs/heads/master
i:
  329661: 0e9a6ed
  329659: eaf0d5a
  329655: 7322573
  329647: 44854bf
  329631: 3e7e9f0
  329599: 86f2f8f
v: v3
  • Loading branch information
Ben Skeggs committed Oct 3, 2012
1 parent 8763ce0 commit 8b192b0
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b8a43aeb9cbf6b965f67f6c850382788076325a
refs/heads/master: 757833cc9f0c334ecf739836f4e052c11bf81264
7 changes: 7 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/core/engine/software/nv04.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ nv04_software_cclass = {
* software engine/subdev functions
******************************************************************************/

void
nv04_software_intr(struct nouveau_subdev *subdev)
{
nv_mask(subdev, 0x000100, 0x80000000, 0x00000000);
}

static int
nv04_software_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
struct nouveau_oclass *oclass, void *data, u32 size,
Expand All @@ -125,6 +131,7 @@ nv04_software_ctor(struct nouveau_object *parent, struct nouveau_object *engine,

nv_engine(priv)->cclass = &nv04_software_cclass;
nv_engine(priv)->sclass = nv04_software_sclass;
nv_subdev(priv)->intr = nv04_software_intr;
return 0;
}

Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/gpu/drm/nouveau/core/engine/software/nv10.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ nv10_software_ctor(struct nouveau_object *parent, struct nouveau_object *engine,

nv_engine(priv)->cclass = &nv10_software_cclass;
nv_engine(priv)->sclass = nv10_software_sclass;
nv_subdev(priv)->intr = nv04_software_intr;
return 0;
}

Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/gpu/drm/nouveau/core/engine/software/nv50.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ nv50_software_ctor(struct nouveau_object *parent, struct nouveau_object *engine,

nv_engine(priv)->cclass = &nv50_software_cclass;
nv_engine(priv)->sclass = nv50_software_sclass;
nv_subdev(priv)->intr = nv04_software_intr;
return 0;
}

Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/gpu/drm/nouveau/core/engine/software/nvc0.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ nvc0_software_ctor(struct nouveau_object *parent, struct nouveau_object *engine,

nv_engine(priv)->cclass = &nvc0_software_cclass;
nv_engine(priv)->sclass = nvc0_software_sclass;
nv_subdev(priv)->intr = nv04_software_intr;
return 0;
}

Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/core/include/engine/software.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,6 @@ extern struct nouveau_oclass nv10_software_oclass;
extern struct nouveau_oclass nv50_software_oclass;
extern struct nouveau_oclass nvc0_software_oclass;

void nv04_software_intr(struct nouveau_subdev *);

#endif

0 comments on commit 8b192b0

Please sign in to comment.