i965: Make gen8_upload_state_base_address static

All of the other state upload functions are static because the only use
is in the brw_tracked_state structure.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
Ian Romanick
2015-08-19 13:54:21 -07:00
parent 4ff9e599cb
commit 97ce8bd437
2 changed files with 2 additions and 5 deletions
-4
View File
@@ -178,10 +178,6 @@ void brw_upload_invariant_state(struct brw_context *brw);
uint32_t
brw_depthbuffer_format(struct brw_context *brw);
/* gen8_misc_state.c */
void gen8_upload_state_base_address(struct brw_context *brw);
/***********************************************************************
* brw_state.c
*/
+2 -1
View File
@@ -29,7 +29,8 @@
/**
* Define the base addresses which some state is referenced from.
*/
void gen8_upload_state_base_address(struct brw_context *brw)
static void
gen8_upload_state_base_address(struct brw_context *brw)
{
uint32_t mocs_wb = brw->gen >= 9 ? SKL_MOCS_WB : BDW_MOCS_WB;
int pkt_len = brw->gen >= 9 ? 19 : 16;