| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0+ */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * rcar_du_group.c -- R-Car Display Unit Planes and CRTCs Group |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2013-2014 Renesas Electronics Corporation |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * 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. |
|---|
| 12 | 8 | */ |
|---|
| 13 | 9 | |
|---|
| 14 | 10 | #ifndef __RCAR_DU_GROUP_H__ |
|---|
| .. | .. |
|---|
| 26 | 22 | * @mmio_offset: registers offset in the device memory map |
|---|
| 27 | 23 | * @index: group index |
|---|
| 28 | 24 | * @channels_mask: bitmask of populated DU channels in this group |
|---|
| 25 | + * @cmms_mask: bitmask of available CMMs in this group |
|---|
| 29 | 26 | * @num_crtcs: number of CRTCs in this group (1 or 2) |
|---|
| 30 | 27 | * @use_count: number of users of the group (rcar_du_group_(get|put)) |
|---|
| 31 | 28 | * @used_crtcs: number of CRTCs currently in use |
|---|
| .. | .. |
|---|
| 41 | 38 | unsigned int index; |
|---|
| 42 | 39 | |
|---|
| 43 | 40 | unsigned int channels_mask; |
|---|
| 41 | + unsigned int cmms_mask; |
|---|
| 44 | 42 | unsigned int num_crtcs; |
|---|
| 45 | 43 | unsigned int use_count; |
|---|
| 46 | 44 | unsigned int used_crtcs; |
|---|