From 14b856d3785245d8622e21c5edb3a91bc787222c Mon Sep 17 00:00:00 2001 From: glevand Date: Wed, 31 Oct 2012 20:17:14 +0000 Subject: [PATCH] rename array reset_gpu_state to reset_gpu_state_3d --- gart_dma.c | 2 +- inline.c | 2 +- reset_gpu_state.c | 4 ++-- reset_gpu_state.h | 4 ++-- vram_dma.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gart_dma.c b/gart_dma.c index 10e67fc..322c66e 100644 --- a/gart_dma.c +++ b/gart_dma.c @@ -175,7 +175,7 @@ main(int argc, char **argv) goto done; } - memcpy(reset_gpu, reset_gpu_state, reset_gpu_state_size); + memcpy(reset_gpu, reset_gpu_state_3d, reset_gpu_state_3d_size); /* Kick FIFO */ diff --git a/inline.c b/inline.c index ffba647..3b010da 100644 --- a/inline.c +++ b/inline.c @@ -176,7 +176,7 @@ main(int argc, char **argv) goto done; } - memcpy(reset_gpu, reset_gpu_state, reset_gpu_state_size); + memcpy(reset_gpu, reset_gpu_state_3d, reset_gpu_state_3d_size); /* Kick FIFO */ diff --git a/reset_gpu_state.c b/reset_gpu_state.c index 98cd478..123efbc 100644 --- a/reset_gpu_state.c +++ b/reset_gpu_state.c @@ -28,7 +28,7 @@ #include -uint32_t reset_gpu_state[] = { +uint32_t reset_gpu_state_3d[] = { /* These commands are executed every time after flip to reset GPU state !!! */ /* program 1 */ @@ -870,4 +870,4 @@ uint32_t reset_gpu_state[] = { 0x00020000, /* return */ }; -int reset_gpu_state_size = sizeof(reset_gpu_state); +int reset_gpu_state_3d_size = sizeof(reset_gpu_state_3d); diff --git a/reset_gpu_state.h b/reset_gpu_state.h index 5328ae0..7ce5ffc 100644 --- a/reset_gpu_state.h +++ b/reset_gpu_state.h @@ -29,8 +29,8 @@ #ifndef _RESET_GPU_STATE_H #define _RESET_GPU_STATE_H -extern uint32_t reset_gpu_state[]; +extern uint32_t reset_gpu_state_3d[]; -extern int reset_gpu_state_size; +extern int reset_gpu_state_3d_size; #endif diff --git a/vram_dma.c b/vram_dma.c index 1b1b547..3a96e29 100644 --- a/vram_dma.c +++ b/vram_dma.c @@ -175,7 +175,7 @@ main(int argc, char **argv) goto done; } - memcpy(reset_gpu, reset_gpu_state, reset_gpu_state_size); + memcpy(reset_gpu, reset_gpu_state_3d, reset_gpu_state_3d_size); /* Kick FIFO */ -- 2.11.4.GIT