xref: /dflybsd-src/sys/dev/drm/i915/i915_gem_render_state.h (revision 4be47400997875399098ad904fb4ca65b3244cca)
11b13d190SFrançois Tigeot /*
21b13d190SFrançois Tigeot  * Copyright © 2014 Intel Corporation
31b13d190SFrançois Tigeot  *
41b13d190SFrançois Tigeot  * Permission is hereby granted, free of charge, to any person obtaining a
51b13d190SFrançois Tigeot  * copy of this software and associated documentation files (the "Software"),
61b13d190SFrançois Tigeot  * to deal in the Software without restriction, including without limitation
71b13d190SFrançois Tigeot  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
81b13d190SFrançois Tigeot  * and/or sell copies of the Software, and to permit persons to whom the
91b13d190SFrançois Tigeot  * Software is furnished to do so, subject to the following conditions:
101b13d190SFrançois Tigeot  *
111b13d190SFrançois Tigeot  * The above copyright notice and this permission notice (including the next
121b13d190SFrançois Tigeot  * paragraph) shall be included in all copies or substantial portions of the
131b13d190SFrançois Tigeot  * Software.
141b13d190SFrançois Tigeot  *
151b13d190SFrançois Tigeot  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
161b13d190SFrançois Tigeot  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
171b13d190SFrançois Tigeot  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
181b13d190SFrançois Tigeot  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
191b13d190SFrançois Tigeot  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
201b13d190SFrançois Tigeot  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
211b13d190SFrançois Tigeot  * DEALINGS IN THE SOFTWARE.
221b13d190SFrançois Tigeot  */
231b13d190SFrançois Tigeot 
241b13d190SFrançois Tigeot #ifndef _I915_GEM_RENDER_STATE_H_
251b13d190SFrançois Tigeot #define _I915_GEM_RENDER_STATE_H_
261b13d190SFrançois Tigeot 
271e12ee3bSFrançois Tigeot struct drm_i915_gem_request;
281b13d190SFrançois Tigeot 
29*4be47400SFrançois Tigeot int i915_gem_render_state_init(struct intel_engine_cs *engine);
30*4be47400SFrançois Tigeot int i915_gem_render_state_emit(struct drm_i915_gem_request *req);
31*4be47400SFrançois Tigeot void i915_gem_render_state_fini(struct intel_engine_cs *engine);
321b13d190SFrançois Tigeot 
331b13d190SFrançois Tigeot #endif /* _I915_GEM_RENDER_STATE_H_ */
34