xref: /linux/drivers/gpu/drm/lima/lima_dlbu.h (revision 14d2bd53a47a7e1cb3e03d00a6b952734cf90f3f)
1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
2 /* Copyright 2018-2019 Qiang Yu <yuq825@gmail.com> */
3 
4 #ifndef __LIMA_DLBU_H__
5 #define __LIMA_DLBU_H__
6 
7 struct lima_ip;
8 struct lima_device;
9 
10 void lima_dlbu_enable(struct lima_device *dev, int num_pp);
11 void lima_dlbu_disable(struct lima_device *dev);
12 
13 void lima_dlbu_set_reg(struct lima_ip *ip, u32 *reg);
14 
15 int lima_dlbu_init(struct lima_ip *ip);
16 void lima_dlbu_fini(struct lima_ip *ip);
17 
18 #endif
19