Home
last modified time | relevance | path

Searched refs:display_id (Results 1 – 25 of 68) sorted by relevance

123

/hardware/qcom/sm8150/display/sdm/libs/core/
Dhw_interface.cpp46 DisplayError HWInterface::Create(int32_t display_id, DisplayType type, in Create() argument
59 hw = new HWPeripheralDRM(display_id, buffer_sync_handler, buffer_allocator, hw_info_intf); in Create()
66 hw = new HWTVDRM(display_id, buffer_sync_handler, buffer_allocator, hw_info_intf); in Create()
73 hw = new HWVirtualDRM(display_id, buffer_sync_handler, buffer_allocator, hw_info_intf); in Create()
85 DLOGW("Init on HWInterface for display %d-%d aborted.", display_id, type); in Create()
87 DLOGE("Init on HWInterface for display %d-%d failed.", display_id, type); in Create()
Dcomp_manager.cpp83 DisplayError CompManager::RegisterDisplay(int32_t display_id, DisplayType type, in RegisterDisplay() argument
99 strategy = new Strategy(extension_intf_, buffer_allocator_, display_id, type, hw_res_info_, in RegisterDisplay()
115 resource_intf_->RegisterDisplay(display_id, type, display_attributes, hw_panel_info, in RegisterDisplay()
136 registered_displays_.insert(display_id); in RegisterDisplay()
138 display_comp_ctx->display_id = display_id; in RegisterDisplay()
152 display_comp_ctx->display_id, display_comp_ctx->display_type); in RegisterDisplay()
173 registered_displays_.erase(display_comp_ctx->display_id); in UnregisterDisplay()
174 configured_displays_.erase(display_comp_ctx->display_id); in UnregisterDisplay()
175 powered_on_displays_.erase(display_comp_ctx->display_id); in UnregisterDisplay()
184 display_comp_ctx->display_id, display_comp_ctx->display_type); in UnregisterDisplay()
[all …]
Dcore_impl.cpp166 DisplayError CoreImpl::CreateDisplay(int32_t display_id, DisplayEventHandler *event_handler, in CreateDisplay() argument
174 auto iter = hw_displays_info_.find(display_id); in CreateDisplay()
177 DLOGE("Spurious display id %d", display_id); in CreateDisplay()
186 display_base = new DisplayBuiltIn(display_id, event_handler, hw_info_intf_, in CreateDisplay()
190 display_base = new DisplayPluggable(display_id, event_handler, hw_info_intf_, in CreateDisplay()
194 display_base = new DisplayVirtual(display_id, event_handler, hw_info_intf_, in CreateDisplay()
Dhw_events_interface.cpp41 DisplayError HWEventsInterface::Create(int display_id, DisplayType display_type, in Create() argument
53 error = hw_events->Init(display_id, display_type, event_handler, event_list, hw_intf); in Create()
Dhw_events_interface.h54 virtual DisplayError Init(int display_id, DisplayType display_type, HWEventHandler *event_handler,
59 static DisplayError Create(int display_id, DisplayType display_type,
Dcolor_manager.cpp114 int32_t display_id = -1; in CreateColorManagerProxy() local
123 hw_intf->GetDisplayId(&display_id); in CreateColorManagerProxy()
124 color_manager_proxy = new ColorManagerProxy(display_id, type, hw_intf, attribute, panel_info); in CreateColorManagerProxy()
Ddisplay_virtual.cpp43 DisplayVirtual::DisplayVirtual(int32_t display_id, DisplayEventHandler *event_handler, in DisplayVirtual() argument
47 : DisplayBase(display_id, kVirtual, event_handler, kDeviceVirtual, buffer_sync_handler, in DisplayVirtual()
Dcomp_manager.h48 DisplayError RegisterDisplay(int32_t display_id, DisplayType type,
102 int32_t display_id = -1; member
Dhw_interface.h75 static DisplayError Create(int32_t display_id, DisplayType type, HWInfoInterface *hw_info_intf,
82 virtual DisplayError GetDisplayId(int32_t *display_id) = 0;
Dstrategy.h38 int32_t display_id, DisplayType type, const HWResourceInfo &hw_resource_info,
Ddisplay_virtual.h40 DisplayVirtual(int32_t display_id, DisplayEventHandler *event_handler,
Dcore_impl.h58 virtual DisplayError CreateDisplay(int32_t display_id, DisplayEventHandler *event_handler,
Dstrategy.cpp37 int32_t display_id, DisplayType type, const HWResourceInfo &hw_resource_info, in Strategy() argument
42 display_id_(display_id), in Strategy()
/hardware/qcom/sm8150/display/sdm/include/private/
Dcolor_interface.h48 typedef DisplayError (*CreateColorInterface)(uint16_t version, int32_t display_id,
53 typedef DisplayError (*DestroyColorInterface)(int32_t display_id);
57 virtual DisplayError ColorIntfGetActiveColorParam(uint32_t hint, uint32_t display_id,
59 virtual DisplayError ColorIntfSetActiveColorParam(uint32_t hint, uint32_t display_id,
67 extern "C" ColorModeInterface* GetColorModeInterface(int32_t display_id, DisplayType type);
68 extern "C" void ReleaseColorModeInterface(int32_t display_id);
Dextension_interface.h55 virtual DisplayError CreatePartialUpdate(int32_t display_id, DisplayType type,
64 virtual DisplayError CreateStrategyExtn(int32_t display_id, DisplayType type,
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_session.cpp1435 info.display_id, width, height, format, &hwc_display); in CreateVirtualDisplayObj()
1446 map_info.sdm_id = info.display_id; in CreateVirtualDisplayObj()
2048 auto display_id = static_cast<uint32_t>(input_parcel->readInt32()); in SetAd4RoiConfig() local
2057 return static_cast<android::status_t>(SetDisplayDppsAdROI(display_id, h_s, h_e, v_s, in SetAd4RoiConfig()
2060 auto err = CallDisplayFunction(static_cast<hwc2_device_t *>(this), display_id, in SetAd4RoiConfig()
2201 android::status_t HWCSession::QdcmCMDDispatch(uint32_t display_id, in QdcmCMDDispatch() argument
2208 if (display_id >= HWCCallbacks::kNumDisplays || !hwc_display_[display_id]) { in QdcmCMDDispatch()
2209 DLOGW("Invalid display id or display = %d is not connected.", display_id); in QdcmCMDDispatch()
2213 if (display_id == map_info_primary_.client_id) { in QdcmCMDDispatch()
2217 if (map_info.client_id == display_id) { in QdcmCMDDispatch()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_session.cpp1040 uint32_t display_id = UINT32(input_parcel->readInt32()); in SetSecondaryDisplayStatus() local
1043 DLOGI("Display = %d, Status = %d", display_id, display_status); in SetSecondaryDisplayStatus()
1045 if (display_id >= HWC_NUM_DISPLAY_TYPES) { in SetSecondaryDisplayStatus()
1047 } else if (display_id == HWC_DISPLAY_PRIMARY) { in SetSecondaryDisplayStatus()
1049 } else if (!hwc_display_[display_id]) { in SetSecondaryDisplayStatus()
1052 ret = hwc_display_[display_id]->SetDisplayStatus(display_status); in SetSecondaryDisplayStatus()
1210 uint32_t display_id = UINT32(input_parcel->readInt32()); in GetHdrCapabilities() local
1211 if (display_id >= HWC_NUM_DISPLAY_TYPES) { in GetHdrCapabilities()
1212 DLOGE("Invalid display id = %d", display_id); in GetHdrCapabilities()
1216 if (hwc_display_[display_id] == NULL) { in GetHdrCapabilities()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_session.cpp1040 uint32_t display_id = UINT32(input_parcel->readInt32()); in SetSecondaryDisplayStatus() local
1043 DLOGI("Display = %d, Status = %d", display_id, display_status); in SetSecondaryDisplayStatus()
1045 if (display_id >= HWC_NUM_DISPLAY_TYPES) { in SetSecondaryDisplayStatus()
1047 } else if (display_id == HWC_DISPLAY_PRIMARY) { in SetSecondaryDisplayStatus()
1049 } else if (!hwc_display_[display_id]) { in SetSecondaryDisplayStatus()
1052 ret = hwc_display_[display_id]->SetDisplayStatus(display_status); in SetSecondaryDisplayStatus()
1210 uint32_t display_id = UINT32(input_parcel->readInt32()); in GetHdrCapabilities() local
1211 if (display_id >= HWC_NUM_DISPLAY_TYPES) { in GetHdrCapabilities()
1212 DLOGE("Invalid display id = %d", display_id); in GetHdrCapabilities()
1216 if (hwc_display_[display_id] == NULL) { in GetHdrCapabilities()
[all …]
/hardware/qcom/sm8150/display/sdm/include/core/
Dcore_interface.h107 int32_t display_id = -1; //!< ID of this display (Display ID). member
200 virtual DisplayError CreateDisplay(int32_t display_id, DisplayEventHandler *event_handler,
/hardware/qcom/sdm845/display/sdm/include/private/
Dcolor_interface.h56 virtual DisplayError ColorIntfGetActiveColorParam(uint32_t hint, uint32_t display_id,
58 virtual DisplayError ColorIntfSetActiveColorParam(uint32_t hint, uint32_t display_id,
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_session.cpp975 uint32_t display_id = UINT32(input_parcel->readInt32()); in SetSecondaryDisplayStatus() local
978 DLOGI("Display = %d, Status = %d", display_id, display_status); in SetSecondaryDisplayStatus()
980 if (display_id >= HWC_NUM_DISPLAY_TYPES) { in SetSecondaryDisplayStatus()
982 } else if (display_id == HWC_DISPLAY_PRIMARY) { in SetSecondaryDisplayStatus()
984 } else if (!hwc_display_[display_id]) { in SetSecondaryDisplayStatus()
987 ret = hwc_display_[display_id]->SetDisplayStatus(display_status); in SetSecondaryDisplayStatus()
1186 uint32_t display_id(0); in QdcmCMDHandler() local
1198 ret = HWCColorManager::CreatePayloadFromParcel(*input_parcel, &display_id, &req_payload); in QdcmCMDHandler()
1200 if (HWC_DISPLAY_PRIMARY == display_id && hwc_display_[HWC_DISPLAY_PRIMARY]) in QdcmCMDHandler()
1204 if (HWC_DISPLAY_EXTERNAL == display_id && hwc_display_[HWC_DISPLAY_EXTERNAL]) in QdcmCMDHandler()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_session.cpp1058 uint32_t display_id = UINT32(input_parcel->readInt32()); in SetSecondaryDisplayStatus() local
1061 DLOGI("Display = %d, Status = %d", display_id, display_status); in SetSecondaryDisplayStatus()
1063 if (display_id >= HWC_NUM_DISPLAY_TYPES) { in SetSecondaryDisplayStatus()
1065 } else if (display_id == HWC_DISPLAY_PRIMARY) { in SetSecondaryDisplayStatus()
1067 } else if (!hwc_display_[display_id]) { in SetSecondaryDisplayStatus()
1070 ret = hwc_display_[display_id]->SetDisplayStatus(display_status); in SetSecondaryDisplayStatus()
1282 uint32_t display_id(0); in QdcmCMDHandler() local
1294 ret = HWCColorManager::CreatePayloadFromParcel(*input_parcel, &display_id, &req_payload); in QdcmCMDHandler()
1296 if (HWC_DISPLAY_PRIMARY == display_id && hwc_display_[HWC_DISPLAY_PRIMARY]) in QdcmCMDHandler()
1300 if (HWC_DISPLAY_EXTERNAL == display_id && hwc_display_[HWC_DISPLAY_EXTERNAL]) in QdcmCMDHandler()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_session.cpp1081 uint32_t display_id = UINT32(input_parcel->readInt32()); in SetSecondaryDisplayStatus() local
1084 DLOGI("Display = %d, Status = %d", display_id, display_status); in SetSecondaryDisplayStatus()
1086 if (display_id >= HWC_NUM_DISPLAY_TYPES) { in SetSecondaryDisplayStatus()
1088 } else if (display_id == HWC_DISPLAY_PRIMARY) { in SetSecondaryDisplayStatus()
1090 } else if (!hwc_display_[display_id]) { in SetSecondaryDisplayStatus()
1093 ret = hwc_display_[display_id]->SetDisplayStatus(display_status); in SetSecondaryDisplayStatus()
1322 uint32_t display_id(0); in QdcmCMDHandler() local
1334 ret = HWCColorManager::CreatePayloadFromParcel(*input_parcel, &display_id, &req_payload); in QdcmCMDHandler()
1336 if (HWC_DISPLAY_PRIMARY == display_id && hwc_display_[HWC_DISPLAY_PRIMARY]) in QdcmCMDHandler()
1340 if (HWC_DISPLAY_EXTERNAL == display_id && hwc_display_[HWC_DISPLAY_EXTERNAL]) in QdcmCMDHandler()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_tv_drm.h39 explicit HWTVDRM(int32_t display_id, BufferSyncHandler *buffer_sync_handler,
Dhw_virtual_drm.h42 HWVirtualDRM(int32_t display_id, BufferSyncHandler *buffer_sync_handler,

123