/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/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/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/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/sm7250/display/libdrmutils/ |
D | drm_master.cpp | 85 dev_fd_ = drmOpen("msm_drm", nullptr); in Init() 86 if (dev_fd_ < 0) { in Init() 87 DRM_LOGE("drmOpen failed with error %d", dev_fd_); in Init() 95 drmClose(dev_fd_); in ~DRMMaster() 96 dev_fd_ = -1; in ~DRMMaster() 101 int ret = drmPrimeFDToHandle(dev_fd_, drm_buffer.fd, &gem_handle); in CreateFbId() 118 if ((ret = drmIoctl(dev_fd_, DRM_IOCTL_MODE_ADDFB2, &cmd2))) { in CreateFbId() 126 int ret1 = drmIoctl(dev_fd_, DRM_IOCTL_GEM_CLOSE, &gem_close); in CreateFbId() 138 ret = drmIoctl(dev_fd_, DRM_IOCTL_MSM_RMFB2, &fb_id); in RemoveFbId() 143 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/sde-drm/ |
D | drm_panel_feature_mgr.cpp | 64 dev_fd_ = fd; in Init() 67 drmModeCrtc *crtc = drmModeGetCrtc(dev_fd_, res->crtcs[i]); in Init() 78 drmModeConnector *conn = drmModeGetConnector(dev_fd_, res->connectors[i]); in Init() 106 ret = drmModeDestroyPropertyBlob(dev_fd_, drm_prop_blob_ids_map_[prop_id]); in DeInit() 118 if (dev_fd_ < 0 || obj_id < 0) { in InitObjectProps() 119 DRM_LOGE("Invalid dev_fd_ %d or crtc_id %d", dev_fd_, obj_id); in InitObjectProps() 124 drmModeObjectGetProperties(dev_fd_, obj_id, obj_type); in InitObjectProps() 132 drmModePropertyRes *info = drmModeGetProperty(dev_fd_, props->props[j]); in InitObjectProps() 155 drmModePropertyBlobRes *blob = drmModeGetPropertyBlob(dev_fd_, blob_id); in ParseDsppCapabilities() 190 drmModePropertyBlobRes *blob = drmModeGetPropertyBlob(dev_fd_, blob_id); in ParseCapabilities() [all …]
|
D | drm_panel_feature_mgr.h | 58 int dev_fd_ = -1; variable
|
/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 | 262 int dev_fd_ = -1; variable
|
D | hw_peripheral_drm.cpp | 498 ret = drmIoctl(dev_fd_, DRM_IOCTL_SDE_WB_CONFIG, &cwb_cfg); in SetupConcurrentWritebackModes()
|
D | hw_device_drm.cpp | 494 drm_master->GetHandle(&dev_fd_); in Init() 495 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()
|