aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima/lima_screen.h
diff options
context:
space:
mode:
authorPatrick Lerda <[email protected]>2019-05-13 00:03:22 +0200
committerPatrick Lerda <[email protected]>2019-05-13 13:32:55 +0200
commit38c5a5a8b51bdeab1672a8a8ea54caa27ffdafee (patch)
tree8af18350e00abbc0886be02f5f7de6bb4f93ce90 /src/gallium/drivers/lima/lima_screen.h
parentf53ebfb4503a1ae054539df1c414b86c3b1966d9 (diff)
lima: refactor plb_max_blk
Move plb_max_blk to lima_screen, and add a new debug option: LIMA_PLB_MAX_BLK Signed-off-by: Patrick Lerda <[email protected]> Reviewed-by: Qiang Yu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/lima_screen.h')
-rw-r--r--src/gallium/drivers/lima/lima_screen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_screen.h b/src/gallium/drivers/lima/lima_screen.h
index af435f71190..7d1f6f82924 100644
--- a/src/gallium/drivers/lima/lima_screen.h
+++ b/src/gallium/drivers/lima/lima_screen.h
@@ -40,6 +40,7 @@
extern uint32_t lima_debug;
extern FILE *lima_dump_command_stream;
extern int lima_ctx_num_plb;
+extern int lima_plb_max_blk;
extern int lima_ppir_force_spilling;
struct ra_regs;
@@ -54,6 +55,7 @@ struct lima_screen {
int fd;
int gpu_type;
int num_pp;
+ uint32_t plb_max_blk;
/* bo table */
mtx_t bo_table_lock;