diff options
author | Marek Olšák <[email protected]> | 2014-01-22 12:45:02 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-01-28 01:40:02 +0100 |
commit | 6e38a3de8a7f87eee5f1ae12124bda8e3c7d29e0 (patch) | |
tree | 62c52ed8c3b4f82105751047f6212c8ac5d28ec4 /src | |
parent | 27a73a1b94a111890ce7fa58a997468b9dc65431 (diff) |
radeonsi: remove si.h
Reviewed-by: Michel Dänzer <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/radeonsi/si.h | 43 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 6 |
3 files changed, 5 insertions, 45 deletions
diff --git a/src/gallium/drivers/radeonsi/si.h b/src/gallium/drivers/radeonsi/si.h deleted file mode 100644 index 5c69b07a05a..00000000000 --- a/src/gallium/drivers/radeonsi/si.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2010 Jerome Glisse <[email protected]> - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * on the rights to use, copy, modify, merge, publish, distribute, sub - * license, and/or sell copies of the Software, and to permit persons to whom - * the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL - * THE AUTHOR(S) AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE - * USE OR OTHER DEALINGS IN THE SOFTWARE. - * - * Authors: - * Jerome Glisse - */ -#ifndef SI_H -#define SI_H - -#include "../../winsys/radeon/drm/radeon_winsys.h" -#include "util/u_double_list.h" -#include "util/u_transfer.h" - -#include "si_resource.h" - -struct winsys_handle; -struct si_context; -struct si_screen; - -void si_context_flush(struct si_context *ctx, unsigned flags); -void si_begin_new_cs(struct si_context *ctx); -void si_need_cs_space(struct si_context *ctx, unsigned num_dw, boolean count_draw_in); - -#endif diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 79a99f14fe7..cf11fc7137c 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -44,7 +44,6 @@ #include "pipebuffer/pb_buffer.h" #include "si_pipe.h" #include "radeon/radeon_uvd.h" -#include "si.h" #include "sid.h" #include "si_resource.h" #include "si_pipe.h" diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index fc75854a83d..28287342bda 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -33,7 +33,6 @@ #include "util/u_format.h" #include "util/u_math.h" #include "util/u_slab.h" -#include "si.h" #include "sid.h" #include "si_public.h" #include "si_pm4.h" @@ -161,6 +160,11 @@ void si_flush_depth_textures(struct si_context *sctx, void si_decompress_color_textures(struct si_context *sctx, struct si_textures_info *textures); +/* si_hw_context.c */ +void si_context_flush(struct si_context *ctx, unsigned flags); +void si_begin_new_cs(struct si_context *ctx); +void si_need_cs_space(struct si_context *ctx, unsigned num_dw, boolean count_draw_in); + /* si_pipe.c */ void si_flush(struct pipe_context *ctx, struct pipe_fence_handle **fence, unsigned flags); |