.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. |
---|
2 | | - * |
---|
3 | | - * This program is free software; you can redistribute it and/or modify |
---|
4 | | - * it under the terms of the GNU General Public License version 2 and |
---|
5 | | - * only version 2 as published by the Free Software Foundation. |
---|
6 | | - * |
---|
7 | | - * This program is distributed in the hope that it will be useful, |
---|
8 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
9 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
10 | | - * GNU General Public License for more details. |
---|
11 | 3 | */ |
---|
12 | 4 | |
---|
13 | 5 | #ifndef _DPU_FORMATS_H |
---|
.. | .. |
---|
39 | 31 | struct msm_kms *kms, |
---|
40 | 32 | const uint32_t format, |
---|
41 | 33 | const uint64_t modifiers); |
---|
42 | | - |
---|
43 | | -/** |
---|
44 | | - * dpu_populate_formats - populate the given array with fourcc codes supported |
---|
45 | | - * @format_list: pointer to list of possible formats |
---|
46 | | - * @pixel_formats: array to populate with fourcc codes |
---|
47 | | - * @pixel_modifiers: array to populate with drm modifiers, can be NULL |
---|
48 | | - * @pixel_formats_max: length of pixel formats array |
---|
49 | | - * Return: number of elements populated |
---|
50 | | - */ |
---|
51 | | -uint32_t dpu_populate_formats( |
---|
52 | | - const struct dpu_format_extended *format_list, |
---|
53 | | - uint32_t *pixel_formats, |
---|
54 | | - uint64_t *pixel_modifiers, |
---|
55 | | - uint32_t pixel_formats_max); |
---|
56 | 34 | |
---|
57 | 35 | /** |
---|
58 | 36 | * dpu_format_check_modified_format - validate format and buffers for |
---|