Rev 4358 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4358 | Rev 4401 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | 59 | ||
Line 60... | Line 60... | ||
60 | if (mt->base.status & NOUVEAU_BUFFER_STATUS_GPU_READING) |
60 | if (mt->base.status & NOUVEAU_BUFFER_STATUS_GPU_READING) |
61 | nv50->state.rt_serialize = TRUE; |
61 | nv50->state.rt_serialize = TRUE; |
62 | mt->base.status |= NOUVEAU_BUFFER_STATUS_GPU_WRITING; |
62 | mt->base.status |= NOUVEAU_BUFFER_STATUS_GPU_WRITING; |
63 | mt->base.status &= NOUVEAU_BUFFER_STATUS_GPU_READING; |
63 | mt->base.status &= ~NOUVEAU_BUFFER_STATUS_GPU_READING; |
Line 64... | Line 64... | ||
64 | 64 | ||
65 | /* only register for writing, otherwise we'd always serialize here */ |
65 | /* only register for writing, otherwise we'd always serialize here */ |
66 | BCTX_REFN(nv50->bufctx_3d, FB, &mt->base, WR); |
66 | BCTX_REFN(nv50->bufctx_3d, FB, &mt->base, WR); |
Line 89... | Line 89... | ||
89 | 89 | ||
Line 90... | Line 90... | ||
90 | if (mt->base.status & NOUVEAU_BUFFER_STATUS_GPU_READING) |
90 | if (mt->base.status & NOUVEAU_BUFFER_STATUS_GPU_READING) |
91 | nv50->state.rt_serialize = TRUE; |
91 | nv50->state.rt_serialize = TRUE; |
92 | mt->base.status |= NOUVEAU_BUFFER_STATUS_GPU_WRITING; |
92 | mt->base.status |= NOUVEAU_BUFFER_STATUS_GPU_WRITING; |
93 | mt->base.status &= NOUVEAU_BUFFER_STATUS_GPU_READING; |
93 | mt->base.status &= ~NOUVEAU_BUFFER_STATUS_GPU_READING; |
Line 94... | Line 94... | ||
94 | 94 | ||
95 | BCTX_REFN(nv50->bufctx_3d, FB, &mt->base, WR); |
95 | BCTX_REFN(nv50->bufctx_3d, FB, &mt->base, WR); |
96 | } else { |
96 | } else { |
97 | BEGIN_NV04(push, NV50_3D(ZETA_ENABLE), 1); |
97 | BEGIN_NV04(push, NV50_3D(ZETA_ENABLE), 1); |