1 /* 2 * Copyright © 2015 Rob Clark <robclark@freedesktop.org> 3 * Copyright © 2018 Google, Inc. 4 * SPDX-License-Identifier: MIT 5 * 6 * Authors: 7 * Rob Clark <robclark@freedesktop.org> 8 */ 9 10 #ifndef FD6_GMEM_H_ 11 #define FD6_GMEM_H_ 12 13 #include "pipe/p_context.h" 14 15 template <chip CHIP> 16 struct fd_ringbuffer *fd6_build_preemption_preamble(struct fd_context *ctx); 17 18 template <chip CHIP> 19 void fd6_gmem_init(struct pipe_context *pctx); 20 21 #endif /* FD6_GMEM_H_ */ 22