Home
last modified time | relevance | path

Searched refs:dev_fd_ (Results 1 – 24 of 24) sorted by relevance

/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_master.cpp83 dev_fd_ = drmOpen("msm_drm", nullptr); in Init()
84 if (dev_fd_ < 0) { in Init()
85 DRM_LOGE("drmOpen failed with error %d", dev_fd_); in Init()
93 drmClose(dev_fd_); in ~DRMMaster()
94 dev_fd_ = -1; in ~DRMMaster()
98 int ret = drmPrimeFDToHandle(dev_fd_, drm_buffer.fd, gem_handle); in CreateFbId()
115 if ((ret = drmIoctl(dev_fd_, DRM_IOCTL_MODE_ADDFB2, &cmd2))) { in CreateFbId()
119 int ret1 = drmIoctl(dev_fd_, DRM_IOCTL_GEM_CLOSE, &gem_close); in CreateFbId()
134 int ret = drmIoctl(dev_fd_, DRM_IOCTL_GEM_CLOSE, &gem_close); in RemoveFbId()
140 ret = drmIoctl(dev_fd_, DRM_IOCTL_MSM_RMFB2, &fb_id); in RemoveFbId()
[all …]
Ddrm_master.h73 void GetHandle(int *fd) { *fd = dev_fd_; } in GetHandle()
88 int dev_fd_ = -1; // Master fd for DRM variable
/hardware/qcom/display/msm8909/libdrmutils/
Ddrm_master.cpp83 dev_fd_ = drmOpen("msm_drm", nullptr); in Init()
84 if (dev_fd_ < 0) { in Init()
85 DRM_LOGE("drmOpen failed with error %d", dev_fd_); in Init()
93 drmClose(dev_fd_); in ~DRMMaster()
94 dev_fd_ = -1; in ~DRMMaster()
99 int ret = drmPrimeFDToHandle(dev_fd_, drm_buffer.fd, &gem_handle); in CreateFbId()
116 if ((ret = drmIoctl(dev_fd_, DRM_IOCTL_MODE_ADDFB2, &cmd2))) { in CreateFbId()
124 int ret1 = drmIoctl(dev_fd_, DRM_IOCTL_GEM_CLOSE, &gem_close); in CreateFbId()
136 ret = drmIoctl(dev_fd_, DRM_IOCTL_MSM_RMFB2, &fb_id); in RemoveFbId()
141 ret = drmModeRmFB(dev_fd_, fb_id); in RemoveFbId()
Ddrm_master.h73 void GetHandle(int *fd) { *fd = dev_fd_; } in GetHandle()
88 int dev_fd_ = -1; // Master fd for DRM variable
/hardware/qcom/sdm845/display/libdrmutils/
Ddrm_master.cpp82 dev_fd_ = drmOpen("msm_drm", nullptr); in Init()
83 if (dev_fd_ < 0) { in Init()
84 DRM_LOGE("drmOpen failed with error %d", dev_fd_); in Init()
92 drmClose(dev_fd_); in ~DRMMaster()
93 dev_fd_ = -1; in ~DRMMaster()
98 int ret = drmPrimeFDToHandle(dev_fd_, drm_buffer.fd, &gem_handle); in CreateFbId()
115 if ((ret = drmIoctl(dev_fd_, DRM_IOCTL_MODE_ADDFB2, &cmd2))) { in CreateFbId()
123 int ret1 = drmIoctl(dev_fd_, DRM_IOCTL_GEM_CLOSE, &gem_close); in CreateFbId()
135 ret = drmIoctl(dev_fd_, DRM_IOCTL_MSM_RMFB2, &fb_id); in RemoveFbId()
140 ret = drmModeRmFB(dev_fd_, fb_id); in RemoveFbId()
Ddrm_master.h73 void GetHandle(int *fd) { *fd = dev_fd_; } in GetHandle()
90 int dev_fd_ = -1; // Master fd for DRM variable
/hardware/qcom/sm8150/display/libdrmutils/
Ddrm_master.cpp84 dev_fd_ = drmOpen("msm_drm", nullptr); in Init()
85 if (dev_fd_ < 0) { in Init()
86 DRM_LOGE("drmOpen failed with error %d", dev_fd_); in Init()
94 drmClose(dev_fd_); in ~DRMMaster()
95 dev_fd_ = -1; in ~DRMMaster()
100 int ret = drmPrimeFDToHandle(dev_fd_, drm_buffer.fd, &gem_handle); in CreateFbId()
117 if ((ret = drmIoctl(dev_fd_, DRM_IOCTL_MODE_ADDFB2, &cmd2))) { in CreateFbId()
125 int ret1 = drmIoctl(dev_fd_, DRM_IOCTL_GEM_CLOSE, &gem_close); in CreateFbId()
137 ret = drmIoctl(dev_fd_, DRM_IOCTL_MSM_RMFB2, &fb_id); in RemoveFbId()
142 ret = drmModeRmFB(dev_fd_, fb_id); in RemoveFbId()
Ddrm_master.h73 void GetHandle(int *fd) { *fd = dev_fd_; } in GetHandle()
90 int dev_fd_ = -1; // Master fd for DRM variable
/hardware/qcom/sm7250/display/libdrmutils/
Ddrm_master.cpp82 dev_fd_ = drmOpen("msm_drm", nullptr); in Init()
83 if (dev_fd_ < 0) { in Init()
84 DRM_LOGE("drmOpen failed with error %d", dev_fd_); in Init()
92 drmClose(dev_fd_); in ~DRMMaster()
93 dev_fd_ = -1; in ~DRMMaster()
98 int ret = drmPrimeFDToHandle(dev_fd_, drm_buffer.fd, &gem_handle); in CreateFbId()
115 if ((ret = drmIoctl(dev_fd_, DRM_IOCTL_MODE_ADDFB2, &cmd2))) { in CreateFbId()
123 int ret1 = drmIoctl(dev_fd_, DRM_IOCTL_GEM_CLOSE, &gem_close); in CreateFbId()
135 ret = drmIoctl(dev_fd_, DRM_IOCTL_MSM_RMFB2, &fb_id); in RemoveFbId()
140 ret = drmModeRmFB(dev_fd_, fb_id); in RemoveFbId()
Ddrm_master.h73 void GetHandle(int *fd) { *fd = dev_fd_; } in GetHandle()
90 int dev_fd_ = -1; // Master fd for DRM variable
/hardware/qcom/display/msm8909w_3100/libdrmutils/
Ddrm_master.cpp83 dev_fd_ = drmOpen("msm_drm", nullptr); in Init()
84 if (dev_fd_ < 0) { in Init()
85 DRM_LOGE("drmOpen failed with error %d", dev_fd_); in Init()
93 drmClose(dev_fd_); in ~DRMMaster()
94 dev_fd_ = -1; in ~DRMMaster()
99 int ret = drmPrimeFDToHandle(dev_fd_, drm_buffer.fd, &gem_handle); in CreateFbId()
116 if ((ret = drmIoctl(dev_fd_, DRM_IOCTL_MODE_ADDFB2, &cmd2))) { in CreateFbId()
124 int ret1 = drmIoctl(dev_fd_, DRM_IOCTL_GEM_CLOSE, &gem_close); in CreateFbId()
136 ret = drmIoctl(dev_fd_, DRM_IOCTL_MSM_RMFB2, &fb_id); in RemoveFbId()
141 ret = drmModeRmFB(dev_fd_, fb_id); in RemoveFbId()
Ddrm_master.h73 void GetHandle(int *fd) { *fd = dev_fd_; } in GetHandle()
88 int dev_fd_ = -1; // Master fd for DRM variable
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp113 ret = drmIoctl(dev_fd_, DRM_IOCTL_SDE_WB_CONFIG, &wb_cfg); in SetWbConfigs()
Dhw_device_drm.h183 int dev_fd_ = -1; variable
Dhw_peripheral_drm.cpp207 ret = drmIoctl(dev_fd_, DRM_IOCTL_SDE_WB_CONFIG, &cwb_cfg); in SetupConcurrentWritebackModes()
Dhw_device_drm.cpp389 drm_master->GetHandle(&dev_fd_); in Init()
390 DRMLibLoader::GetInstance()->FuncGetDRMManager()(dev_fd_, &drm_mgr_intf_); in Init()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp114 ret = drmIoctl(dev_fd_, DRM_IOCTL_SDE_WB_CONFIG, &wb_cfg); in SetWbConfigs()
Dhw_device_drm.h210 int dev_fd_ = -1; variable
Dhw_peripheral_drm.cpp391 ret = drmIoctl(dev_fd_, DRM_IOCTL_SDE_WB_CONFIG, &cwb_cfg); in SetupConcurrentWritebackModes()
Dhw_device_drm.cpp456 drm_master->GetHandle(&dev_fd_); in Init()
457 DRMLibLoader::GetInstance()->FuncGetDRMManager()(dev_fd_, &drm_mgr_intf_); in Init()
/hardware/qcom/sm7250/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp120 ret = drmIoctl(dev_fd_, DRM_IOCTL_SDE_WB_CONFIG, &wb_cfg); in SetWbConfigs()
Dhw_device_drm.h219 int dev_fd_ = -1; variable
Dhw_peripheral_drm.cpp459 ret = drmIoctl(dev_fd_, DRM_IOCTL_SDE_WB_CONFIG, &cwb_cfg); in SetupConcurrentWritebackModes()
Dhw_device_drm.cpp458 drm_master->GetHandle(&dev_fd_); in Init()
459 DRMLibLoader::GetInstance()->FuncGetDRMManager()(dev_fd_, &drm_mgr_intf_); in Init()