forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/gpu/drm/rcar-du/rcar_du_group.h
....@@ -1,14 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0+ */
12 /*
23 * rcar_du_group.c -- R-Car Display Unit Planes and CRTCs Group
34 *
45 * Copyright (C) 2013-2014 Renesas Electronics Corporation
56 *
67 * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com)
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version.
128 */
139
1410 #ifndef __RCAR_DU_GROUP_H__
....@@ -26,6 +22,7 @@
2622 * @mmio_offset: registers offset in the device memory map
2723 * @index: group index
2824 * @channels_mask: bitmask of populated DU channels in this group
25
+ * @cmms_mask: bitmask of available CMMs in this group
2926 * @num_crtcs: number of CRTCs in this group (1 or 2)
3027 * @use_count: number of users of the group (rcar_du_group_(get|put))
3128 * @used_crtcs: number of CRTCs currently in use
....@@ -41,6 +38,7 @@
4138 unsigned int index;
4239
4340 unsigned int channels_mask;
41
+ unsigned int cmms_mask;
4442 unsigned int num_crtcs;
4543 unsigned int use_count;
4644 unsigned int used_crtcs;