xref: /linux/drivers/gpu/drm/lima/lima_l2_cache.h (revision 05909cd9a0c8811731b38697af13075e8954314f)
1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
2 /* Copyright 2017-2019 Qiang Yu <yuq825@gmail.com> */
3 
4 #ifndef __LIMA_L2_CACHE_H__
5 #define __LIMA_L2_CACHE_H__
6 
7 struct lima_ip;
8 
9 int lima_l2_cache_resume(struct lima_ip *ip);
10 void lima_l2_cache_suspend(struct lima_ip *ip);
11 int lima_l2_cache_init(struct lima_ip *ip);
12 void lima_l2_cache_fini(struct lima_ip *ip);
13 
14 int lima_l2_cache_flush(struct lima_ip *ip);
15 
16 #endif
17