Home
last modified time | relevance | path

Searched refs:disp_idx (Results 1 – 4 of 4) 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.cpp2007 int disp_idx = GetDisplayIndex(dpy); in SetDisplayDeviceStatus() local
2008 if (disp_idx == -1) { in SetDisplayDeviceStatus()
2013 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in SetDisplayDeviceStatus()
2014 if (hwc_display_[disp_idx]) { in SetDisplayDeviceStatus()
2015 error = hwc_display_[disp_idx]->SetDisplayStatus(disp_status); in SetDisplayDeviceStatus()
2036 int disp_idx = GetDisplayIndex(dpy); in GetDisplayAttributesForConfig() local
2037 if (disp_idx == -1 || config < 0) { in GetDisplayAttributesForConfig()
2042 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in GetDisplayAttributesForConfig()
2043 if (hwc_display_[disp_idx]) { in GetDisplayAttributesForConfig()
2044 error = hwc_display_[disp_idx]->GetDisplayAttributesForConfig(config, &display_attributes); in GetDisplayAttributesForConfig()
[all …]
/hardware/qcom/sm7250/display/composer/
Dhwc_session_services.cpp125 int disp_idx = hwc_session_->GetDisplayIndex(disp_id); in IsDisplayConnected() local
127 if (disp_idx == -1) { in IsDisplayConnected()
131 SEQUENCE_WAIT_SCOPE_LOCK(hwc_session_->locker_[disp_idx]); in IsDisplayConnected()
132 *connected = hwc_session_->hwc_display_[disp_idx]; in IsDisplayConnected()
139 int disp_idx = GetDisplayIndex(disp_id); in SetDisplayStatus() local
141 if (disp_idx == -1) { in SetDisplayStatus()
146 if (disp_idx == qdutils::DISPLAY_PRIMARY) { in SetDisplayStatus()
152 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in SetDisplayStatus()
153 if (!hwc_display_[disp_idx]) { in SetDisplayStatus()
157 DLOGI("Display = %d, Status = %d", disp_idx, status); in SetDisplayStatus()
[all …]
Dhwc_session.cpp1808 int disp_idx = GetDisplayIndex(dpy); in SetDisplayDeviceStatus() local
1809 if (disp_idx == -1) { in SetDisplayDeviceStatus()
1814 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in SetDisplayDeviceStatus()
1815 if (hwc_display_[disp_idx]) { in SetDisplayDeviceStatus()
1816 error = hwc_display_[disp_idx]->SetDisplayStatus(disp_status); in SetDisplayDeviceStatus()
1831 int disp_idx = GetDisplayIndex(dpy); in SetPanelGammaTableSource() local
1832 if (disp_idx == -1) { in SetPanelGammaTableSource()
1837 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in SetPanelGammaTableSource()
1838 if (hwc_display_[disp_idx]) { in SetPanelGammaTableSource()
1839 error = hwc_display_[disp_idx]->SetCurrentPanelGammaSource(source); in SetPanelGammaTableSource()
[all …]