Skip to content

Commit 39c9079

Browse files
committed
drm: apple: Define IOMFB parameter for Adaptive Sync
IOMFB exposes a method that allows firmware consumers to change display behaviour parameters at runtime. One such parameter is IOMFBParameter_adaptive_sync, which allows DCP to be informed of the desired minimum refresh rate, media target rate, and fractional rate. Add an enum to define the supported parameters, and add IOMFBPARAM_ADAPTIVE_SYNC to it as a starting point. Signed-off-by: James Calligeros <[email protected]>
1 parent d183f64 commit 39c9079

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

drivers/gpu/drm/apple/iomfb.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ enum dcpep_type {
4646
IOMFB_MESSAGE_TYPE_MSG = 2,
4747
};
4848

49+
/*
50+
* IOMFB supports the setting of a number of parameters
51+
* that alter various aspects of the connected sink's
52+
* behaviour at runtime.
53+
*/
54+
enum iomfb_parameter {
55+
IOMFBPARAM_ADAPTIVE_SYNC = 14,
56+
};
57+
4958
#define IOMFB_MESSAGE_TYPE GENMASK_ULL( 3, 0)
5059

5160
/* Message */

0 commit comments

Comments
 (0)