Home
last modified time | relevance | path

Searched refs:disp_idx (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_session_services.cpp100 int disp_idx = GetDisplayIndex(disp_id); in isDisplayConnected() local
102 if (disp_idx == -1) { in isDisplayConnected()
105 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in isDisplayConnected()
106 connected = hwc_display_[disp_idx]; in isDisplayConnected()
115 int disp_idx = GetDisplayIndex(disp_id); in SetSecondaryDisplayStatus() local
117 if (disp_idx == -1) { in SetSecondaryDisplayStatus()
122 if (disp_idx == qdutils::DISPLAY_PRIMARY) { in SetSecondaryDisplayStatus()
128 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in SetSecondaryDisplayStatus()
129 if (!hwc_display_[disp_idx]) { in SetSecondaryDisplayStatus()
133 DLOGI("Display = %d, Status = %d", disp_idx, status); in SetSecondaryDisplayStatus()
[all …]
Dhwc_session.cpp1812 int disp_idx = GetDisplayIndex(dpy); in SetDisplayDeviceStatus() local
1813 if (disp_idx == -1) { in SetDisplayDeviceStatus()
1818 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in SetDisplayDeviceStatus()
1819 if (hwc_display_[disp_idx]) { in SetDisplayDeviceStatus()
1820 error = hwc_display_[disp_idx]->SetDisplayStatus(disp_status); in SetDisplayDeviceStatus()
1841 int disp_idx = GetDisplayIndex(dpy); in GetDisplayAttributesForConfig() local
1842 if (disp_idx == -1 || config < 0) { in GetDisplayAttributesForConfig()
1847 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in GetDisplayAttributesForConfig()
1848 if (hwc_display_[disp_idx]) { in GetDisplayAttributesForConfig()
1849 error = hwc_display_[disp_idx]->GetDisplayAttributesForConfig(config, &display_attributes); in GetDisplayAttributesForConfig()
[all …]