diff options
author | Sushil Chauhan <sushilchauhan@codeaurora.org> | 2018-02-27 17:35:44 -0800 |
---|---|---|
committer | Ramkumar Radhakrishnan <ramkumar@codeaurora.org> | 2018-06-18 11:36:08 -0700 |
commit | 8f514a558e1d22bcb8f7c58fc89fdd965a0cb6cb (patch) | |
tree | 87bd78e16c2d3d991c5528efcebbaa19e92f1345 /libdrmutils | |
parent | 66b807e00cbd28dcc16311d3c619d0e881941821 (diff) |
sdm: Set QSYNC mode on connector
Check for Qsync feature support and set the qsync mode as continuous
or none.
Change-Id: I684e50045259086c826722d0f4f775f1a3ef2dfd
CRs-Fixed: 2197669
Diffstat (limited to 'libdrmutils')
-rw-r--r-- | libdrmutils/drm_interface.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libdrmutils/drm_interface.h b/libdrmutils/drm_interface.h index 73e530bb..a83632ee 100644 --- a/libdrmutils/drm_interface.h +++ b/libdrmutils/drm_interface.h @@ -376,6 +376,12 @@ enum struct DRMOps { * Arg: drmModeAtomicReq - Atomic request */ DPPS_COMMIT_FEATURE, + /* + * Op: Sets qsync mode on connector + * Arg: uint32_t - Connector ID + * uint32_t - qsync mode + */ + CONNECTOR_SET_QSYNC_MODE, }; enum struct DRMRotation { @@ -576,6 +582,7 @@ struct DRMConnectorInfo { drm_panel_hdr_properties panel_hdr_prop; uint32_t transfer_time_us; drm_msm_ext_hdr_properties ext_hdr_prop; + bool qsync_support; }; /* Identifier token for a display */ @@ -720,6 +727,11 @@ enum struct DRMCWbCaptureMode { DSPP_OUT = 1, }; +enum struct DRMQsyncMode { + NONE = 0, + CONTINUOUS, +}; + struct DRMSolidfillStage { DRMRect bounding_rect {}; bool is_exclusion_rect = false; |