Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8996/sdm/libs/core/
Dresource_default.cpp111 HWBlockType hw_block_id = kHWBlockMax; in RegisterDisplay() local
115 hw_block_id = kHWPrimary; in RegisterDisplay()
121 hw_block_id = kHWHDMI; in RegisterDisplay()
130 if (hw_block_id == kHWBlockMax) { in RegisterDisplay()
139 hw_block_ctx_[hw_block_id].is_in_use = true; in RegisterDisplay()
142 display_resource_ctx->hw_block_id = hw_block_id; in RegisterDisplay()
157 hw_block_ctx_[display_resource_ctx->hw_block_id].is_in_use = false; in UnregisterDisplay()
192 HWBlockType hw_block_id = display_resource_ctx->hw_block_id; in Acquire() local
194 DLOGV_IF(kTagResources, "==== Resource reserving start: hw_block = %d ====", hw_block_id); in Acquire()
215 if (src_pipes_[i].hw_block_id == hw_block_id && src_pipes_[i].owner == kPipeOwnerUserMode) { in Acquire()
[all …]
Dresource_default.h74 HWBlockType hw_block_id; member
78 index(0), hw_block_id(kHWBlockMax), priority(0) { } in SourcePipe()
80 inline void ResetState() { hw_block_id = kHWBlockMax;} in ResetState()
85 HWBlockType hw_block_id; member
88 DisplayResourceContext() : hw_block_id(kHWBlockMax), frame_count(0) { } in DisplayResourceContext()
96 uint32_t NextPipe(PipeType pipe_type, HWBlockType hw_block_id);
97 uint32_t SearchPipe(HWBlockType hw_block_id, SourcePipe *src_pipes, uint32_t num_pipe);
98 uint32_t GetPipe(HWBlockType hw_block_id, bool need_scale);