freedreno/a2xx: add fd2_emit_init_screen()

Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
Rob Clark 2019-07-31 18:01:07 -07:00
parent ec0ec641d8
commit b9d3f39728
3 changed files with 9 additions and 0 deletions

View File

@ -563,6 +563,11 @@ fd2_emit_restore(struct fd_context *ctx, struct fd_ringbuffer *ring)
A2XX_PA_CL_VTE_CNTL_VPORT_Z_OFFSET_ENA);
}
void
fd2_emit_init_screen(struct pipe_screen *pscreen)
{
}
void
fd2_emit_init(struct pipe_context *pctx)
{

View File

@ -44,6 +44,7 @@ void fd2_emit_state_binning(struct fd_context *ctx, const enum fd_dirty_3d_state
void fd2_emit_state(struct fd_context *ctx, const enum fd_dirty_3d_state dirty);
void fd2_emit_restore(struct fd_context *ctx, struct fd_ringbuffer *ring);
void fd2_emit_init_screen(struct pipe_screen *pscreen);
void fd2_emit_init(struct pipe_context *pctx);
static inline void

View File

@ -29,6 +29,7 @@
#include "fd2_screen.h"
#include "fd2_context.h"
#include "fd2_emit.h"
#include "fd2_util.h"
#include "fd2_resource.h"
@ -125,4 +126,6 @@ fd2_screen_init(struct pipe_screen *pscreen)
screen->perfcntr_groups = a2xx_perfcntr_groups;
screen->num_perfcntr_groups = a2xx_num_perfcntr_groups;
}
fd2_emit_init_screen(pscreen);
}