| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * ARC PGU DRM driver. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | | - * GNU General Public License for more details. |
|---|
| 14 | | - * |
|---|
| 15 | 6 | */ |
|---|
| 16 | 7 | |
|---|
| 17 | 8 | #ifndef _ARCPGU_H_ |
|---|
| .. | .. |
|---|
| 20 | 11 | struct arcpgu_drm_private { |
|---|
| 21 | 12 | void __iomem *regs; |
|---|
| 22 | 13 | struct clk *clk; |
|---|
| 23 | | - struct drm_fbdev_cma *fbdev; |
|---|
| 24 | 14 | struct drm_framebuffer *fb; |
|---|
| 25 | 15 | struct drm_crtc crtc; |
|---|
| 26 | 16 | struct drm_plane *plane; |
|---|
| .. | .. |
|---|
| 43 | 33 | int arc_pgu_setup_crtc(struct drm_device *dev); |
|---|
| 44 | 34 | int arcpgu_drm_hdmi_init(struct drm_device *drm, struct device_node *np); |
|---|
| 45 | 35 | int arcpgu_drm_sim_init(struct drm_device *drm, struct device_node *np); |
|---|
| 46 | | -struct drm_fbdev_cma *arcpgu_fbdev_cma_init(struct drm_device *dev, |
|---|
| 47 | | - unsigned int preferred_bpp, unsigned int num_crtc, |
|---|
| 48 | | - unsigned int max_conn_count); |
|---|
| 49 | 36 | |
|---|
| 50 | 37 | #endif |
|---|