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