Home
last modified time | relevance | path

Searched refs:fb_id (Results 1 – 25 of 31) sorted by relevance

12

/hardware/qcom/display/msm8909/libdrmutils/
Ddrm_master.cpp97 int DRMMaster::CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id) { in CreateFbId() argument
119 *fb_id = cmd2.fb_id; in CreateFbId()
133 int DRMMaster::RemoveFbId(uint32_t fb_id) { in RemoveFbId() argument
136 ret = drmIoctl(dev_fd_, DRM_IOCTL_MSM_RMFB2, &fb_id); in RemoveFbId()
138 DRM_LOGE("drmIoctl::DRM_IOCTL_MSM_RMFB2 failed for fb_id %d with error %d", fb_id, errno); in RemoveFbId()
141 ret = drmModeRmFB(dev_fd_, fb_id); in RemoveFbId()
143 DRM_LOGE("drmModeRmFB failed for fb_id %d with error %d", fb_id, ret); in RemoveFbId()
Ddrm_master.h61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id);
68 int RemoveFbId(uint32_t fb_id);
/hardware/qcom/sm8150/display/libdrmutils/
Ddrm_master.cpp96 int DRMMaster::CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id) { in CreateFbId() argument
118 *fb_id = cmd2.fb_id; in CreateFbId()
132 int DRMMaster::RemoveFbId(uint32_t fb_id) { in RemoveFbId() argument
135 ret = drmIoctl(dev_fd_, DRM_IOCTL_MSM_RMFB2, &fb_id); in RemoveFbId()
137 DRM_LOGE("drmIoctl::DRM_IOCTL_MSM_RMFB2 failed for fb_id %d with error %d", fb_id, errno); in RemoveFbId()
140 ret = drmModeRmFB(dev_fd_, fb_id); in RemoveFbId()
142 DRM_LOGE("drmModeRmFB failed for fb_id %d with error %d", fb_id, ret); in RemoveFbId()
Ddrm_master.h61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id);
68 int RemoveFbId(uint32_t fb_id);
/hardware/qcom/sdm845/display/libdrmutils/
Ddrm_master.cpp96 int DRMMaster::CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id) { in CreateFbId() argument
118 *fb_id = cmd2.fb_id; in CreateFbId()
132 int DRMMaster::RemoveFbId(uint32_t fb_id) { in RemoveFbId() argument
135 ret = drmIoctl(dev_fd_, DRM_IOCTL_MSM_RMFB2, &fb_id); in RemoveFbId()
137 DRM_LOGE("drmIoctl::DRM_IOCTL_MSM_RMFB2 failed for fb_id %d with error %d", fb_id, errno); in RemoveFbId()
140 ret = drmModeRmFB(dev_fd_, fb_id); in RemoveFbId()
142 DRM_LOGE("drmModeRmFB failed for fb_id %d with error %d", fb_id, ret); in RemoveFbId()
Ddrm_master.h61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id);
68 int RemoveFbId(uint32_t fb_id);
/hardware/qcom/display/msm8909w_3100/libdrmutils/
Ddrm_master.cpp97 int DRMMaster::CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id) { in CreateFbId() argument
119 *fb_id = cmd2.fb_id; in CreateFbId()
133 int DRMMaster::RemoveFbId(uint32_t fb_id) { in RemoveFbId() argument
136 ret = drmIoctl(dev_fd_, DRM_IOCTL_MSM_RMFB2, &fb_id); in RemoveFbId()
138 DRM_LOGE("drmIoctl::DRM_IOCTL_MSM_RMFB2 failed for fb_id %d with error %d", fb_id, errno); in RemoveFbId()
141 ret = drmModeRmFB(dev_fd_, fb_id); in RemoveFbId()
143 DRM_LOGE("drmModeRmFB failed for fb_id %d with error %d", fb_id, ret); in RemoveFbId()
Ddrm_master.h61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id);
68 int RemoveFbId(uint32_t fb_id);
/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_master.cpp97 int DRMMaster::CreateFbId(const DRMBuffer &drm_buffer, uint32_t *gem_handle, uint32_t *fb_id) { in CreateFbId() argument
127 *fb_id = cmd2.fb_id; in CreateFbId()
131 int DRMMaster::RemoveFbId(uint32_t gem_handle, uint32_t fb_id) { in RemoveFbId() argument
140 ret = drmIoctl(dev_fd_, DRM_IOCTL_MSM_RMFB2, &fb_id); in RemoveFbId()
142 DRM_LOGE("drmIoctl::DRM_IOCTL_MSM_RMFB2 failed for fb_id %d with error %d", fb_id, errno); in RemoveFbId()
145 ret = drmModeRmFB(dev_fd_, fb_id); in RemoveFbId()
147 DRM_LOGE("drmModeRmFB failed for fb_id %d with error %d", fb_id, ret); in RemoveFbId()
Ddrm_master.h61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *gem_handle, uint32_t *fb_id);
68 int RemoveFbId(uint32_t gem_handle, uint32_t fb_id);
/hardware/ti/am57x/libhwcomposer/
Ddrmfb.cpp73 &this->fb_id, 0); in DRMFramebuffer()
82 if (this->fb_id) { in ~DRMFramebuffer()
83 if (drmModeRmFB(this->drm_fd, this->fb_id)) in ~DRMFramebuffer()
Ddrmfb.h33 uint32_t fb_id; variable
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp61 void HWVirtualDRM::ConfigureWbConnectorFbId(uint32_t fb_id) { in ConfigureWbConnectorFbId() argument
62 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_FB_ID, token_.conn_id, fb_id); in ConfigureWbConnectorFbId()
130 uint32_t fb_id = registry_.GetOutputFbId(output_buffer->handle_id); in Commit() local
132 ConfigureWbConnectorFbId(fb_id); in Commit()
148 uint32_t fb_id = registry_.GetOutputFbId(output_buffer->handle_id); in Validate() local
150 ConfigureWbConnectorFbId(fb_id); in Validate()
Dhw_virtual_drm.h58 void ConfigureWbConnectorFbId(uint32_t fb_id);
Dhw_device_drm.cpp227 explicit FrameBufferObject(uint32_t fb_id) : fb_id_(fb_id) { in FrameBufferObject() argument
272 int HWDeviceDRM::Registry::CreateFbId(LayerBuffer *buffer, uint32_t *fb_id) { in CreateFbId() argument
290 ret = master->CreateFbId(layout, fb_id); in CreateFbId()
321 uint32_t fb_id = 0; in MapBufferToFbId() local
322 if (CreateFbId(buffer, &fb_id) >= 0) { in MapBufferToFbId()
324 layer->buffer_map->buffer_map[handle_id] = std::make_shared<FrameBufferObject>(fb_id); in MapBufferToFbId()
349 uint32_t fb_id = 0; in MapOutputBufferToFbId() local
350 if (CreateFbId(output_buffer, &fb_id) >= 0) { in MapOutputBufferToFbId()
351 output_buffer_map_[handle_id] = std::make_shared<FrameBufferObject>(fb_id); in MapOutputBufferToFbId()
899 uint32_t fb_id = registry_.GetFbId(&layer, input_buffer->handle_id); in SetupAtomic() local
[all …]
Dhw_peripheral_drm.cpp232 uint32_t fb_id = registry_.GetOutputFbId(output_buffer->handle_id); in ConfigureConcurrentWriteback() local
233 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_FB_ID, cwb_config_.token.conn_id, fb_id); in ConfigureConcurrentWriteback()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp62 void HWVirtualDRM::ConfigureWbConnectorFbId(uint32_t fb_id) { in ConfigureWbConnectorFbId() argument
63 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_FB_ID, token_.conn_id, fb_id); in ConfigureWbConnectorFbId()
131 uint32_t fb_id = registry_.GetOutputFbId(output_buffer->handle_id); in Commit() local
133 ConfigureWbConnectorFbId(fb_id); in Commit()
162 uint32_t fb_id = registry_.GetOutputFbId(output_buffer->handle_id); in Validate() local
164 ConfigureWbConnectorFbId(fb_id); in Validate()
Dhw_virtual_drm.h67 void ConfigureWbConnectorFbId(uint32_t fb_id);
Dhw_device_drm.cpp264 explicit FrameBufferObject(uint32_t fb_id) : fb_id_(fb_id) { in FrameBufferObject() argument
317 int HWDeviceDRM::Registry::CreateFbId(LayerBuffer *buffer, uint32_t *fb_id) { in CreateFbId() argument
335 ret = master->CreateFbId(layout, fb_id); in CreateFbId()
365 uint32_t fb_id = 0; in MapBufferToFbId() local
366 if (CreateFbId(buffer, &fb_id) >= 0) { in MapBufferToFbId()
368 layer->buffer_map->buffer_map[handle_id] = std::make_shared<FrameBufferObject>(fb_id); in MapBufferToFbId()
392 uint32_t fb_id = 0; in MapOutputBufferToFbId() local
393 if (CreateFbId(output_buffer, &fb_id) >= 0) { in MapOutputBufferToFbId()
394 output_buffer_map_[handle_id] = std::make_shared<FrameBufferObject>(fb_id); in MapOutputBufferToFbId()
1037 uint32_t fb_id = registry_.GetFbId(&layer, input_buffer->handle_id); in SetupAtomic() local
[all …]
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_device_drm.cpp249 uint32_t fb_id = 0; in RegisterCurrent() local
250 int ret = master->CreateFbId(layout, &fb_id); in RegisterCurrent()
256 hashmap_[current_index_][fd] = fb_id; in RegisterCurrent()
274 uint32_t fb_id = pair.second; in UnregisterNext() local
275 int ret = master->RemoveFbId(fb_id); in UnregisterNext()
277 DLOGE("Removing fb_id %d failed with error %d", fb_id, errno); in UnregisterNext()
615 uint32_t fb_id = registry_.GetFbId(input_buffer->planes[0].fd); in SetupAtomic() local
616 if (pipe_info->valid && fb_id) { in SetupAtomic()
649 drm_atomic_intf_->Perform(DRMOps::PLANE_SET_FB_ID, pipe_id, fb_id); in SetupAtomic()
741 uint32_t fb_id = registry_.GetFbId(hw_layer_info.hw_layers.at(0).input_buffer.planes[0].fd); in DefaultCommit() local
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_device_drm.cpp249 uint32_t fb_id = 0; in RegisterCurrent() local
250 int ret = master->CreateFbId(layout, &fb_id); in RegisterCurrent()
256 hashmap_[current_index_][fd] = fb_id; in RegisterCurrent()
274 uint32_t fb_id = pair.second; in UnregisterNext() local
275 int ret = master->RemoveFbId(fb_id); in UnregisterNext()
277 DLOGE("Removing fb_id %d failed with error %d", fb_id, errno); in UnregisterNext()
610 uint32_t fb_id = registry_.GetFbId(input_buffer->planes[0].fd); in SetupAtomic() local
611 if (pipe_info->valid && fb_id) { in SetupAtomic()
644 drm_atomic_intf_->Perform(DRMOps::PLANE_SET_FB_ID, pipe_id, fb_id); in SetupAtomic()
736 uint32_t fb_id = registry_.GetFbId(hw_layer_info.hw_layers.at(0).input_buffer.planes[0].fd); in DefaultCommit() local
[all …]
/hardware/qcom/display/msm8998/sdm/include/core/
Dbuffer_allocator.h72 uint32_t fb_id = 0; // Registered id with the DRM driver member
Dlayer_buffer.h269 uint32_t fb_id = 0; // DRM f/w registered framebuffer id member
/hardware/qcom/display/msm8998/libgralloc/
Dgralloc_priv.h260 unsigned int fb_id; member
277 unaligned_height(height), gem_handle(0), fb_id(0) in private_handle_t()
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_device_drm.cpp393 if (input_buffer->fb_id == 0) { in SetupAtomic()
429 drm_atomic_intf_->Perform(DRMOps::PLANE_SET_FB_ID, pipe_id, input_buffer->fb_id); in SetupAtomic()
503 ret = drmModeSetCrtc(dev_fd, crtc_id, input_buffer.fb_id, 0 /* x */, 0 /* y */, &connector_id, in DefaultCommit()
507 input_buffer.fb_id, crtc_id, connector_id, strerror(errno)); in DefaultCommit()

12