summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pm4.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-10-14 17:31:00 +0200
committerMarek Olšák <[email protected]>2014-10-21 22:17:15 +0200
commit139bde061a6968671c7119ce78837f144a169abf (patch)
tree7e73dccb9d17531b559825fa930f33b46d2bce2c /src/gallium/drivers/radeonsi/si_pm4.c
parent22c5886f3f2eabe19fda314b4d69d8075caacaae (diff)
radeonsi: inline si_pm4_alloc_state
It seemed like the function needed a context pointer. Let's remove it to make it less confusing. Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pm4.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_pm4.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pm4.c b/src/gallium/drivers/radeonsi/si_pm4.c
index 0b872b86c15..954eb6e5ff1 100644
--- a/src/gallium/drivers/radeonsi/si_pm4.c
+++ b/src/gallium/drivers/radeonsi/si_pm4.c
@@ -120,11 +120,6 @@ void si_pm4_free_state(struct si_context *sctx,
FREE(state);
}
-struct si_pm4_state * si_pm4_alloc_state(struct si_context *sctx)
-{
- return CALLOC_STRUCT(si_pm4_state);
-}
-
unsigned si_pm4_dirty_dw(struct si_context *sctx)
{
unsigned count = 0;