From fc1807c4ee2527eb3af0ca96fa24862288c72c46 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Thu, 6 Feb 2014 18:39:51 +0000 Subject: driver: use calulated address for TS_COLOR_SURFACE_BASE Signed-off-by: Christian Gmeiner --- src/driver/etna_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/etna_pipe.c b/src/driver/etna_pipe.c index 54b4632..82eb610 100644 --- a/src/driver/etna_pipe.c +++ b/src/driver/etna_pipe.c @@ -995,7 +995,7 @@ static void etna_pipe_set_framebuffer_state(struct pipe_context *pipe, ts_mem_config |= VIVS_TS_MEM_CONFIG_COLOR_FAST_CLEAR; cs->TS_COLOR_CLEAR_VALUE = cbuf->level->clear_value; cs->TS_COLOR_STATUS_BASE = etna_bo_gpu_address(ts_bo) + cbuf->surf.ts_offset; - cs->TS_COLOR_SURFACE_BASE = etna_bo_gpu_address(bo) + cbuf->surf.offset; + cs->TS_COLOR_SURFACE_BASE = res->pipe_addr[0]; } /* MSAA */ if(cbuf->base.texture->nr_samples > 1) -- cgit