Home
last modified time | relevance | path

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

/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/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/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/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/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/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()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.cpp271 layer_buffer->fb_id = 0; in SetLayerBuffer()
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_base.cpp1291 hw_layer.input_buffer.fb_id = sdm_layer->input_buffer.fb_id; in CommitLayerParams()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/
Dh264parse_dpb.c3560 int32_t dpb_setup_free_fb( h264_DecodedPictureBuffer *p_dpb, uint8_t* fb_id, pip_setting_t* pip_set… in dpb_setup_free_fb() argument
3572 *fb_id = idx; in dpb_setup_free_fb()