1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
2 /* Copyright 2017-2019 Qiang Yu <yuq825@gmail.com> */
7 #include <drm/drm_file.h>
11 extern int lima_sched_timeout_ms
;
15 struct lima_sched_task
;
17 struct drm_lima_gem_submit_bo
;
19 struct lima_drm_priv
{
21 struct lima_ctx_mgr ctx_mgr
;
29 struct drm_lima_gem_submit_bo
*bos
;
30 struct lima_bo
**lbos
;
36 struct lima_sched_task
*task
;
39 static inline struct lima_drm_priv
*
40 to_lima_drm_priv(struct drm_file
*file
)
42 return file
->driver_priv
;