/hardware/qcom/display/msm8998/libdrmutils/ |
D | drm_master.cpp | 83 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 …]
|
D | drm_master.h | 73 void GetHandle(int *fd) { *fd = dev_fd_; } in GetHandle() 88 int dev_fd_ = -1; // Master fd for DRM variable
|
/hardware/qcom/display/msm8909/libdrmutils/ |
D | drm_master.cpp | 83 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()
|
D | drm_master.h | 73 void GetHandle(int *fd) { *fd = dev_fd_; } in GetHandle() 88 int dev_fd_ = -1; // Master fd for DRM variable
|
/hardware/qcom/sm8150/display/libdrmutils/ |
D | drm_master.cpp | 82 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()
|
D | drm_master.h | 73 void GetHandle(int *fd) { *fd = dev_fd_; } in GetHandle() 90 int dev_fd_ = -1; // Master fd for DRM variable
|
/hardware/qcom/sdm845/display/libdrmutils/ |
D | drm_master.cpp | 82 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()
|
D | drm_master.h | 73 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/ |
D | drm_master.cpp | 83 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()
|
D | drm_master.h | 73 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/ |
D | hw_virtual_drm.cpp | 113 ret = drmIoctl(dev_fd_, DRM_IOCTL_SDE_WB_CONFIG, &wb_cfg); in SetWbConfigs()
|
D | hw_device_drm.h | 183 int dev_fd_ = -1; variable
|
D | hw_peripheral_drm.cpp | 207 ret = drmIoctl(dev_fd_, DRM_IOCTL_SDE_WB_CONFIG, &cwb_cfg); in SetupConcurrentWritebackModes()
|
D | hw_device_drm.cpp | 389 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/ |
D | hw_virtual_drm.cpp | 114 ret = drmIoctl(dev_fd_, DRM_IOCTL_SDE_WB_CONFIG, &wb_cfg); in SetWbConfigs()
|
D | hw_device_drm.h | 206 int dev_fd_ = -1; variable
|
D | hw_peripheral_drm.cpp | 369 ret = drmIoctl(dev_fd_, DRM_IOCTL_SDE_WB_CONFIG, &cwb_cfg); in SetupConcurrentWritebackModes()
|
D | hw_device_drm.cpp | 433 drm_master->GetHandle(&dev_fd_); in Init() 434 DRMLibLoader::GetInstance()->FuncGetDRMManager()(dev_fd_, &drm_mgr_intf_); in Init()
|