blob: 77dd3eed72b5773f5068d093705e969b11fd2edc [file] [log] [blame]
Dominik Laskowskicd2e9f52018-03-12 19:41:03 -07001/*
2 * Copyright (C) 2018 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.hardware.graphics.composer@2.3;
18
19import @2.2::IComposerClient;
20import @2.1::Display;
21import @2.1::Error;
22
23interface IComposerClient extends @2.2::IComposerClient {
24
25 /**
26 * Returns the port and data that describe a physical display. The port is
27 * a unique number that identifies a physical connector (e.g. eDP, HDMI)
28 * for display output. The data blob is parsed to determine its format,
29 * typically EDID 1.3 as specified in VESA E-EDID Standard Release A
30 * Revision 1.
31 *
32 * @param display is the display to query.
33 * @return error is NONE upon success. Otherwise,
34 * BAD_DISPLAY when an invalid display handle was passed in.
35 * UNSUPPORTED when identification data is unavailable.
36 * @return port is the connector to which the display is connected.
37 * @return data is the EDID 1.3 blob identifying the display.
38 */
39 @callflow(next="*")
40 getDisplayIdentificationData(Display display)
41 generates (Error error,
42 uint8_t port,
43 vec<uint8_t> data);
44
45};