/hardware/qcom/display/msm8909/libdrmutils/ |
D | drm_master.cpp | 97 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()
|
D | drm_master.h | 61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id); 68 int RemoveFbId(uint32_t fb_id);
|
/hardware/qcom/sm8150/display/libdrmutils/ |
D | drm_master.cpp | 96 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()
|
D | drm_master.h | 61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id); 68 int RemoveFbId(uint32_t fb_id);
|
/hardware/qcom/sdm845/display/libdrmutils/ |
D | drm_master.cpp | 96 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()
|
D | drm_master.h | 61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id); 68 int RemoveFbId(uint32_t fb_id);
|
/hardware/qcom/display/msm8909w_3100/libdrmutils/ |
D | drm_master.cpp | 97 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()
|
D | drm_master.h | 61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id); 68 int RemoveFbId(uint32_t fb_id);
|
/hardware/qcom/display/msm8998/libdrmutils/ |
D | drm_master.cpp | 97 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()
|
D | drm_master.h | 61 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/ |
D | drmfb.cpp | 73 &this->fb_id, 0); in DRMFramebuffer() 82 if (this->fb_id) { in ~DRMFramebuffer() 83 if (drmModeRmFB(this->drm_fd, this->fb_id)) in ~DRMFramebuffer()
|
D | drmfb.h | 33 uint32_t fb_id; variable
|
/hardware/qcom/sdm845/display/sdm/libs/core/drm/ |
D | hw_virtual_drm.cpp | 61 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()
|
D | hw_virtual_drm.h | 58 void ConfigureWbConnectorFbId(uint32_t fb_id);
|
D | hw_device_drm.cpp | 227 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 …]
|
D | hw_peripheral_drm.cpp | 232 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/ |
D | hw_virtual_drm.cpp | 62 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()
|
D | hw_virtual_drm.h | 67 void ConfigureWbConnectorFbId(uint32_t fb_id);
|
D | hw_device_drm.cpp | 264 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/ |
D | hw_device_drm.cpp | 249 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/ |
D | hw_device_drm.cpp | 249 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/ |
D | buffer_allocator.h | 72 uint32_t fb_id = 0; // Registered id with the DRM driver member
|
D | layer_buffer.h | 269 uint32_t fb_id = 0; // DRM f/w registered framebuffer id member
|
/hardware/qcom/display/msm8998/libgralloc/ |
D | gralloc_priv.h | 260 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/ |
D | hw_device_drm.cpp | 393 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()
|