/hardware/qcom/sm8150/display/libdrmutils/ |
D | drm_master.cpp | 98 int DRMMaster::CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id) { in CreateFbId() argument 120 *fb_id = cmd2.fb_id; in CreateFbId() 134 int DRMMaster::RemoveFbId(uint32_t fb_id) { in RemoveFbId() argument 137 ret = drmIoctl(dev_fd_, DRM_IOCTL_MSM_RMFB2, &fb_id); in RemoveFbId() 139 DRM_LOGE("drmIoctl::DRM_IOCTL_MSM_RMFB2 failed for fb_id %d with error %d", fb_id, errno); in RemoveFbId() 142 ret = drmModeRmFB(dev_fd_, fb_id); in RemoveFbId() 144 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/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/sm7250/display/libdrmutils/ |
D | drm_master.cpp | 99 int DRMMaster::CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id) { in CreateFbId() argument 121 *fb_id = cmd2.fb_id; in CreateFbId() 135 int DRMMaster::RemoveFbId(uint32_t fb_id) { in RemoveFbId() argument 138 ret = drmIoctl(dev_fd_, DRM_IOCTL_MSM_RMFB2, &fb_id); in RemoveFbId() 140 DRM_LOGE("drmIoctl::DRM_IOCTL_MSM_RMFB2 failed for fb_id %d with error %d", fb_id, errno); in RemoveFbId() 143 ret = drmModeRmFB(dev_fd_, fb_id); in RemoveFbId() 145 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/sm7250/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() 141 uint32_t fb_id = registry_.GetOutputFbId(output_buffer->handle_id); in Commit() local 143 ConfigureWbConnectorFbId(fb_id); in Commit() 170 uint32_t fb_id = registry_.GetOutputFbId(output_buffer->handle_id); in Validate() local 172 ConfigureWbConnectorFbId(fb_id); in Validate()
|
D | hw_virtual_drm.h | 67 void ConfigureWbConnectorFbId(uint32_t fb_id);
|
D | hw_device_drm.cpp | 308 explicit FrameBufferObject(uint32_t fb_id, LayerBufferFormat format, in FrameBufferObject() argument 310 :fb_id_(fb_id), format_(format), width_(width), height_(height) { in FrameBufferObject() 365 int HWDeviceDRM::Registry::CreateFbId(const LayerBuffer &buffer, uint32_t *fb_id) { in CreateFbId() argument 383 ret = master->CreateFbId(layout, fb_id); in CreateFbId() 420 uint32_t fb_id = 0; in MapBufferToFbId() local 421 if (CreateFbId(buffer, &fb_id) >= 0) { in MapBufferToFbId() 423 layer->buffer_map->buffer_map[handle_id] = std::make_shared<FrameBufferObject>(fb_id, in MapBufferToFbId() 454 uint32_t fb_id = 0; in MapOutputBufferToFbId() local 455 if (CreateFbId(*output_buffer, &fb_id) >= 0) { in MapOutputBufferToFbId() 456 output_buffer_map_[handle_id] = std::make_shared<FrameBufferObject>(fb_id, in MapOutputBufferToFbId() [all …]
|
/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 | 263 explicit FrameBufferObject(uint32_t fb_id, LayerBufferFormat format, in FrameBufferObject() argument 265 :fb_id_(fb_id), format_(format), width_(width), height_(height) { in FrameBufferObject() 324 int HWDeviceDRM::Registry::CreateFbId(LayerBuffer *buffer, uint32_t *fb_id) { in CreateFbId() argument 342 ret = master->CreateFbId(layout, fb_id); in CreateFbId() 380 uint32_t fb_id = 0; in MapBufferToFbId() local 381 if (CreateFbId(buffer, &fb_id) >= 0) { in MapBufferToFbId() 383 layer->buffer_map->buffer_map[handle_id] = std::make_shared<FrameBufferObject>(fb_id, in MapBufferToFbId() 414 uint32_t fb_id = 0; in MapOutputBufferToFbId() local 415 if (CreateFbId(output_buffer, &fb_id) >= 0) { in MapOutputBufferToFbId() 416 output_buffer_map_[handle_id] = std::make_shared<FrameBufferObject>(fb_id, in MapOutputBufferToFbId() [all …]
|
/hardware/google/gfxstream/guest/mesa/include/drm-uapi/ |
D | drm_mode.h | 282 __u32 fb_id; /**< Id of framebuffer */ member 299 __u32 fb_id; /* fb object contains surface format type */ member 339 __u32 fb_id; member 653 __u32 fb_id; member 702 __u32 fb_id; member 769 __u32 fb_id; member 998 __u32 fb_id; member 1026 __u32 fb_id; member
|
/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/sm7250/display/sde-drm/ |
D | drm_plane.cpp | 877 uint32_t fb_id = va_arg(args, uint32_t); in Perform() local 878 AddProperty(DRMProperty::FB_ID, fb_id); in Perform() 879 DRM_LOGV("Plane %d: Setting fb_id %d", obj_id, fb_id); in Perform() 883 uint32_t fb_id = va_arg(args, uint32_t); in Perform() local 884 AddProperty(DRMProperty::ROT_FB_ID, fb_id, true); in Perform() 885 DRM_LOGV("Plane %d: Setting rot_fb_id %d", obj_id, fb_id); in Perform() 1015 drm_plane_->plane_id, drm_plane_->crtc_id, drm_plane_->fb_id, drm_plane_->crtc_x, in Dump()
|