| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2015 MediaTek Inc. |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 6 | | - * published by the Free Software Foundation. |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 9 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 10 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 11 | | - * GNU General Public License for more details. |
|---|
| 12 | 4 | */ |
|---|
| 13 | 5 | |
|---|
| 14 | 6 | #ifndef MTK_DRM_DRV_H |
|---|
| .. | .. |
|---|
| 47 | 39 | |
|---|
| 48 | 40 | struct device_node *mutex_node; |
|---|
| 49 | 41 | struct device *mutex_dev; |
|---|
| 50 | | - void __iomem *config_regs; |
|---|
| 42 | + struct device *mmsys_dev; |
|---|
| 51 | 43 | struct device_node *comp_node[DDP_COMPONENT_ID_MAX]; |
|---|
| 52 | 44 | struct mtk_ddp_comp *ddp_comp[DDP_COMPONENT_ID_MAX]; |
|---|
| 53 | 45 | const struct mtk_mmsys_driver_data *data; |
|---|
| 54 | | - |
|---|
| 55 | | - struct { |
|---|
| 56 | | - struct drm_atomic_state *state; |
|---|
| 57 | | - struct work_struct work; |
|---|
| 58 | | - struct mutex lock; |
|---|
| 59 | | - } commit; |
|---|
| 60 | | - |
|---|
| 61 | 46 | struct drm_atomic_state *suspend_state; |
|---|
| 62 | 47 | |
|---|
| 63 | 48 | bool dma_parms_allocated; |
|---|