mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
Implement ioctls for the creation and destruction of contexts. Contexts are
used for job submission and each is associated with a particular job type.
Changes since v8:
- Fixed one error path in pvr_stream_process_1()
- Corrected license identifiers
Changes since v5:
- Fix context release in final error path in pvr_context_create()
Changes since v3:
- Use drm_dev_{enter,exit}
Co-developed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Sarah Walker <sarah.walker@imgtec.com>
Signed-off-by: Donald Robson <donald.robson@imgtec.com>
Link: https://lore.kernel.org/r/ac474a1f7dda2582d290798e4837140a2989aa2a.1700668843.git.donald.robson@imgtec.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
17 lines
629 B
C
17 lines
629 B
C
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
|
|
/* Copyright (c) 2023 Imagination Technologies Ltd. */
|
|
|
|
#ifndef PVR_STREAM_DEFS_H
|
|
#define PVR_STREAM_DEFS_H
|
|
|
|
#include "pvr_stream.h"
|
|
|
|
extern const struct pvr_stream_cmd_defs pvr_cmd_geom_stream;
|
|
extern const struct pvr_stream_cmd_defs pvr_cmd_frag_stream;
|
|
extern const struct pvr_stream_cmd_defs pvr_cmd_compute_stream;
|
|
extern const struct pvr_stream_cmd_defs pvr_cmd_transfer_stream;
|
|
extern const struct pvr_stream_cmd_defs pvr_static_render_context_state_stream;
|
|
extern const struct pvr_stream_cmd_defs pvr_static_compute_context_state_stream;
|
|
|
|
#endif /* PVR_STREAM_DEFS_H */
|