freedreno/a6xx: add fd6_emit_init_screen()
authorRob Clark <robdclark@chromium.org>
Thu, 1 Aug 2019 01:13:38 +0000 (18:13 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 13 Aug 2019 15:11:26 +0000 (08:11 -0700)
Signed-off-by: Rob Clark <robdclark@chromium.org>
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.h
src/gallium/drivers/freedreno/a6xx/fd6_screen.c

index 181f647a2bb2bd214b5627a0990cbb32f537b20f..fd2ceaa47301cc243b751148b3fd5dd4e399d586 100644 (file)
@@ -1330,6 +1330,11 @@ fd6_framebuffer_barrier(struct fd_context *ctx)
        OUT_RING(ring, seqno);
 }
 
+void
+fd6_emit_init_screen(struct pipe_screen *pscreen)
+{
+}
+
 void
 fd6_emit_init(struct pipe_context *pctx)
 {
index 8c411328402554e7733129faa14c6929a871dff5..e46091a49bc9b6b26fc8b9a76af5c9ff75e2c9c3 100644 (file)
@@ -234,6 +234,7 @@ void fd6_emit_cs_state(struct fd_context *ctx, struct fd_ringbuffer *ring,
 
 void fd6_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring);
 
+void fd6_emit_init_screen(struct pipe_screen *pscreen);
 void fd6_emit_init(struct pipe_context *pctx);
 
 static inline void
index 744737b5412940e652816580a81b846a2353f14a..dddda98f1219435b839663142ea64bc84ed6d16b 100644 (file)
@@ -32,6 +32,7 @@
 #include "fd6_screen.h"
 #include "fd6_blitter.h"
 #include "fd6_context.h"
+#include "fd6_emit.h"
 #include "fd6_format.h"
 #include "fd6_resource.h"
 
@@ -154,4 +155,6 @@ fd6_screen_init(struct pipe_screen *pscreen)
                screen->perfcntr_groups = a6xx_perfcntr_groups;
                screen->num_perfcntr_groups = a6xx_num_perfcntr_groups;
        }
+
+       fd6_emit_init_screen(pscreen);
 }