2 * Copyright (C) 2016 BayLibre, SAS
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, see <http://www.gnu.org/licenses/>.
22 #include <linux/platform_device.h>
23 #include <linux/regmap.h>
29 void __iomem *io_base;
34 struct drm_device *drm;
35 struct drm_crtc *crtc;
36 struct drm_fbdev_cma *fbdev;
37 struct drm_plane *primary_plane;
44 uint32_t osd1_ctrl_stat;
45 uint32_t osd1_blk0_cfg[5];
49 unsigned int current_mode;
53 static inline int meson_vpu_is_compatible(struct meson_drm *priv,
56 return of_device_is_compatible(priv->dev->of_node, compat);
59 #endif /* __MESON_DRV_H */