summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_surface.c
diff options
context:
space:
mode:
authorXavier Chantry <[email protected]>2010-10-15 15:53:13 +0200
committerChristoph Bumiller <[email protected]>2010-10-15 15:54:02 +0200
commit9c439e3c7af7fd1704d44e3ba1a013de7febde37 (patch)
tree6a0b7eb8239f99eda7f2dee3989ca14cac882666 /src/gallium/drivers/nv50/nv50_surface.c
parentac98519c4eed0daf770a9ba380056978e4420352 (diff)
nv50: apply layout_mask to tile_flags
The tile_flags now store more than just nv50 page table entry bits.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_surface.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_surface.c b/src/gallium/drivers/nv50/nv50_surface.c
index 3f3166261b1..f70c138fe1a 100644
--- a/src/gallium/drivers/nv50/nv50_surface.c
+++ b/src/gallium/drivers/nv50/nv50_surface.c
@@ -92,7 +92,7 @@ nv50_surface_set(struct nv50_screen *screen, struct pipe_surface *ps, int dst)
return 1;
}
- if (!bo->tile_flags) {
+ if (!nouveau_bo_tile_layout(bo)) {
BEGIN_RING(chan, eng2d, mthd, 2);
OUT_RING (chan, format);
OUT_RING (chan, 1);