1bf215546Sopenharmony_ci/*
2bf215546Sopenharmony_ci * Copyright © 2019 Intel Corporation
3bf215546Sopenharmony_ci *
4bf215546Sopenharmony_ci * Permission is hereby granted, free of charge, to any person obtaining a
5bf215546Sopenharmony_ci * copy of this software and associated documentation files (the "Software"),
6bf215546Sopenharmony_ci * to deal in the Software without restriction, including without limitation
7bf215546Sopenharmony_ci * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8bf215546Sopenharmony_ci * and/or sell copies of the Software, and to permit persons to whom the
9bf215546Sopenharmony_ci * Software is furnished to do so, subject to the following conditions:
10bf215546Sopenharmony_ci *
11bf215546Sopenharmony_ci * The above copyright notice and this permission notice shall be included
12bf215546Sopenharmony_ci * in all copies or substantial portions of the Software.
13bf215546Sopenharmony_ci *
14bf215546Sopenharmony_ci * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15bf215546Sopenharmony_ci * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16bf215546Sopenharmony_ci * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17bf215546Sopenharmony_ci * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18bf215546Sopenharmony_ci * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19bf215546Sopenharmony_ci * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20bf215546Sopenharmony_ci * DEALINGS IN THE SOFTWARE.
21bf215546Sopenharmony_ci */
22bf215546Sopenharmony_ci
23bf215546Sopenharmony_ci/* GenX-specific function declarations.
24bf215546Sopenharmony_ci *
25bf215546Sopenharmony_ci * Don't include this directly, it will be included by crocus_context.h.
26bf215546Sopenharmony_ci *
27bf215546Sopenharmony_ci * NOTE: This header can be included multiple times, from the same file.
28bf215546Sopenharmony_ci */
29bf215546Sopenharmony_ci
30bf215546Sopenharmony_ci/* crocus_state.c */
31bf215546Sopenharmony_civoid genX(crocus_init_state)(struct crocus_context *ice);
32bf215546Sopenharmony_civoid genX(crocus_init_screen_state)(struct crocus_screen *screen);
33bf215546Sopenharmony_civoid genX(crocus_upload_urb)(struct crocus_batch *batch,
34bf215546Sopenharmony_ci                      unsigned vs_size,
35bf215546Sopenharmony_ci                      bool gs_present,
36bf215546Sopenharmony_ci                      unsigned gs_size);
37bf215546Sopenharmony_civoid genX(crocus_update_pma_fix)(struct crocus_context *ice,
38bf215546Sopenharmony_ci                                 struct crocus_batch *batch,
39bf215546Sopenharmony_ci                                 bool enable);
40bf215546Sopenharmony_ci/* crocus_blorp.c */
41bf215546Sopenharmony_civoid genX(crocus_init_blorp)(struct crocus_context *ice);
42bf215546Sopenharmony_ci
43bf215546Sopenharmony_ci/* crocus_query.c */
44bf215546Sopenharmony_civoid genX(crocus_init_query)(struct crocus_context *ice);
45bf215546Sopenharmony_civoid genX(crocus_init_screen_query)(struct crocus_screen *screen);
46bf215546Sopenharmony_ci
47bf215546Sopenharmony_ci/* crocus_blt.c */
48bf215546Sopenharmony_civoid genX(crocus_init_blt)(struct crocus_screen *screen);
49