.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2017 NVIDIA CORPORATION. All rights reserved. |
---|
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 | 4 | */ |
---|
8 | 5 | |
---|
9 | 6 | #ifndef TEGRA_HUB_H |
---|
10 | 7 | #define TEGRA_HUB_H 1 |
---|
11 | 8 | |
---|
12 | | -#include <drm/drmP.h> |
---|
13 | 9 | #include <drm/drm_plane.h> |
---|
14 | 10 | |
---|
15 | 11 | #include "plane.h" |
---|
.. | .. |
---|
21 | 17 | struct mutex lock; |
---|
22 | 18 | |
---|
23 | 19 | unsigned int index; |
---|
24 | | - struct device *parent; |
---|
| 20 | + struct host1x_client *parent; |
---|
25 | 21 | struct reset_control *rst; |
---|
26 | 22 | }; |
---|
27 | 23 | |
---|
.. | .. |
---|
38 | 34 | |
---|
39 | 35 | struct tegra_display_hub_soc { |
---|
40 | 36 | unsigned int num_wgrps; |
---|
| 37 | + bool supports_dsc; |
---|
41 | 38 | }; |
---|
42 | 39 | |
---|
43 | 40 | struct tegra_display_hub { |
---|
.. | .. |
---|
48 | 45 | struct clk *clk_hub; |
---|
49 | 46 | struct reset_control *rst; |
---|
50 | 47 | |
---|
| 48 | + unsigned int num_heads; |
---|
| 49 | + struct clk **clk_heads; |
---|
| 50 | + |
---|
51 | 51 | const struct tegra_display_hub_soc *soc; |
---|
52 | 52 | struct tegra_windowgroup *wgrps; |
---|
53 | 53 | }; |
---|