xref: /linux/drivers/gpu/drm/lima/lima_l2_cache.h (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
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