/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/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/sm8150/display/libdrmutils/ |
D | drm_master.cpp | 84 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()
|
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/sm7250/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 | 210 int dev_fd_ = -1; variable
|
D | hw_peripheral_drm.cpp | 391 ret = drmIoctl(dev_fd_, DRM_IOCTL_SDE_WB_CONFIG, &cwb_cfg); in SetupConcurrentWritebackModes()
|
D | hw_device_drm.cpp | 456 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/ |
D | hw_virtual_drm.cpp | 120 ret = drmIoctl(dev_fd_, DRM_IOCTL_SDE_WB_CONFIG, &wb_cfg); in SetWbConfigs()
|
D | hw_device_drm.h | 219 int dev_fd_ = -1; variable
|
D | hw_peripheral_drm.cpp | 459 ret = drmIoctl(dev_fd_, DRM_IOCTL_SDE_WB_CONFIG, &cwb_cfg); in SetupConcurrentWritebackModes()
|
D | hw_device_drm.cpp | 458 drm_master->GetHandle(&dev_fd_); in Init() 459 DRMLibLoader::GetInstance()->FuncGetDRMManager()(dev_fd_, &drm_mgr_intf_); in Init()
|