xref: /linux/drivers/gpu/drm/lima/lima_gp.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
2 /* Copyright 2017-2019 Qiang Yu <yuq825@gmail.com> */
3 
4 #ifndef __LIMA_GP_H__
5 #define __LIMA_GP_H__
6 
7 struct lima_ip;
8 struct lima_device;
9 
10 int lima_gp_resume(struct lima_ip *ip);
11 void lima_gp_suspend(struct lima_ip *ip);
12 int lima_gp_init(struct lima_ip *ip);
13 void lima_gp_fini(struct lima_ip *ip);
14 
15 int lima_gp_pipe_init(struct lima_device *dev);
16 void lima_gp_pipe_fini(struct lima_device *dev);
17 
18 #endif
19