summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYounes Manton <younes.m@gmail.com>2009-01-31 16:52:46 -0500
committerYounes Manton <younes.m@gmail.com>2009-01-31 16:52:46 -0500
commitdfd87ece014402339f82ecc26bc27b2e47e213df (patch)
tree05d6810e35d36909cbf711f8ae335356b417507b
parentb8de749bbaeacbbe677df1939f7fd39d9d3863a7 (diff)
xv: Unmap filter table BO after init so it can be validated (nv30,40)
-rw-r--r--src/nv30_xv_tex.c1
-rw-r--r--src/nv40_xv_tex.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/nv30_xv_tex.c b/src/nv30_xv_tex.c
index bde5ca9..6814d1d 100644
--- a/src/nv30_xv_tex.c
+++ b/src/nv30_xv_tex.c
@@ -107,6 +107,7 @@ NV30_LoadFilterTable(ScrnInfoPtr pScrn)
int8_t *t=pNv->xv_filtertable_mem->map;
compute_filter_table(t);
+ nouveau_bo_unmap(pNv->xv_filtertable_mem);
}
}
diff --git a/src/nv40_xv_tex.c b/src/nv40_xv_tex.c
index b01fbfe..182bc0f 100644
--- a/src/nv40_xv_tex.c
+++ b/src/nv40_xv_tex.c
@@ -109,6 +109,7 @@ NV40_LoadFilterTable(ScrnInfoPtr pScrn)
int8_t *t=pNv->xv_filtertable_mem->map;
compute_filter_table(t);
+ nouveau_bo_unmap(pNv->xv_filtertable_mem);
}
}