treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / lima / lima_dlbu.h
blob16f877984466d4eb7849e7b076e8a62075862517
1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
2 /* Copyright 2018-2019 Qiang Yu <yuq825@gmail.com> */
4 #ifndef __LIMA_DLBU_H__
5 #define __LIMA_DLBU_H__
7 struct lima_ip;
8 struct lima_device;
10 void lima_dlbu_enable(struct lima_device *dev, int num_pp);
11 void lima_dlbu_disable(struct lima_device *dev);
13 void lima_dlbu_set_reg(struct lima_ip *ip, u32 *reg);
15 int lima_dlbu_init(struct lima_ip *ip);
16 void lima_dlbu_fini(struct lima_ip *ip);
18 #endif