Searched refs:disp_idx (Results 1 – 3 of 3) sorted by relevance
100 int disp_idx = GetDisplayIndex(disp_id); in isDisplayConnected() local102 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() local117 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 …]
2007 int disp_idx = GetDisplayIndex(dpy); in SetDisplayDeviceStatus() local2008 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() local2037 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 …]
1746 int disp_idx = GetDisplayIndex(dpy); in SetDisplayDeviceStatus() local1747 if (disp_idx == -1) { in SetDisplayDeviceStatus()1752 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in SetDisplayDeviceStatus()1753 if (hwc_display_[disp_idx]) { in SetDisplayDeviceStatus()1754 error = hwc_display_[disp_idx]->SetDisplayStatus(disp_status); in SetDisplayDeviceStatus()1769 int disp_idx = GetDisplayIndex(dpy); in SetPanelGammaTableSource() local1770 if (disp_idx == -1) { in SetPanelGammaTableSource()1775 SEQUENCE_WAIT_SCOPE_LOCK(locker_[disp_idx]); in SetPanelGammaTableSource()1776 if (hwc_display_[disp_idx]) { in SetPanelGammaTableSource()1777 error = hwc_display_[disp_idx]->SetCurrentPanelGammaSource(source); in SetPanelGammaTableSource()[all …]