summaryrefslogtreecommitdiff
path: root/src/nv30_xv_tex.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-01-11 12:48:00 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-01-11 12:48:00 +1000
commite8798d91eedc5d8337223b2257ca607da8a197de (patch)
tree79c37bc8165ef14de6ff4bdebf5586a83dcfb555 /src/nv30_xv_tex.c
parent7a6f785de1732ec0af429a0b66d5d6ba45427dcb (diff)
Remove pNv->NVArch
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'src/nv30_xv_tex.c')
-rw-r--r--src/nv30_xv_tex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nv30_xv_tex.c b/src/nv30_xv_tex.c
index 1ecc7b7..ae28f91 100644
--- a/src/nv30_xv_tex.c
+++ b/src/nv30_xv_tex.c
@@ -303,7 +303,7 @@ NV30PutTextureImage(ScrnInfoPtr pScrn, struct nouveau_bo *src, int src_offset,
return BadImplementation;
}
- if (pNv->NVArch == 0x30) {
+ if (pNv->dev->chipset == 0x30) {
int x = 0;
int y = 0;
int w = ppix->drawable.x + ppix->drawable.width;
@@ -395,7 +395,7 @@ NV30PutTextureImage(ScrnInfoPtr pScrn, struct nouveau_bo *src, int src_offset,
BEGIN_RING(chan, rankine, NV34TCL_VERTEX_BEGIN_END, 1);
OUT_RING (chan, NV34TCL_VERTEX_BEGIN_END_STOP);
- if (pNv->NVArch == 0x30) {
+ if (pNv->dev->chipset == 0x30) {
BEGIN_RING(chan, rankine, NV34TCL_VIEWPORT_HORIZ, 2);
OUT_RING (chan, 4096 << 16);
OUT_RING (chan, 4096 << 16);