/hardware/qcom/display/msm8909/libdrmutils/ |
D | drm_master.cpp | 97 int DRMMaster::CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id) { in CreateFbId() argument 99 int ret = drmPrimeFDToHandle(dev_fd_, drm_buffer.fd, &gem_handle); in CreateFbId() 106 cmd2.width = drm_buffer.width; in CreateFbId() 107 cmd2.height = drm_buffer.height; in CreateFbId() 108 cmd2.pixel_format = drm_buffer.drm_format; in CreateFbId() 110 fill(begin(cmd2.handles), begin(cmd2.handles) + drm_buffer.num_planes, gem_handle); in CreateFbId() 111 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId() 112 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId() 113 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId() 114 drm_buffer.drm_format_modifier); in CreateFbId()
|
D | drm_master.h | 61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id);
|
/hardware/qcom/sdm845/display/libdrmutils/ |
D | drm_master.cpp | 96 int DRMMaster::CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id) { in CreateFbId() argument 98 int ret = drmPrimeFDToHandle(dev_fd_, drm_buffer.fd, &gem_handle); in CreateFbId() 105 cmd2.width = drm_buffer.width; in CreateFbId() 106 cmd2.height = drm_buffer.height; in CreateFbId() 107 cmd2.pixel_format = drm_buffer.drm_format; in CreateFbId() 109 fill(begin(cmd2.handles), begin(cmd2.handles) + drm_buffer.num_planes, gem_handle); in CreateFbId() 110 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId() 111 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId() 112 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId() 113 drm_buffer.drm_format_modifier); in CreateFbId()
|
D | drm_master.h | 61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id);
|
/hardware/qcom/sm8150/display/libdrmutils/ |
D | drm_master.cpp | 98 int DRMMaster::CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id) { in CreateFbId() argument 100 int ret = drmPrimeFDToHandle(dev_fd_, drm_buffer.fd, &gem_handle); in CreateFbId() 107 cmd2.width = drm_buffer.width; in CreateFbId() 108 cmd2.height = drm_buffer.height; in CreateFbId() 109 cmd2.pixel_format = drm_buffer.drm_format; in CreateFbId() 111 fill(begin(cmd2.handles), begin(cmd2.handles) + drm_buffer.num_planes, gem_handle); in CreateFbId() 112 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId() 113 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId() 114 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId() 115 drm_buffer.drm_format_modifier); in CreateFbId()
|
D | drm_master.h | 61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id);
|
/hardware/qcom/sm7250/display/libdrmutils/ |
D | drm_master.cpp | 96 int DRMMaster::CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id) { in CreateFbId() argument 98 int ret = drmPrimeFDToHandle(dev_fd_, drm_buffer.fd, &gem_handle); in CreateFbId() 105 cmd2.width = drm_buffer.width; in CreateFbId() 106 cmd2.height = drm_buffer.height; in CreateFbId() 107 cmd2.pixel_format = drm_buffer.drm_format; in CreateFbId() 109 fill(begin(cmd2.handles), begin(cmd2.handles) + drm_buffer.num_planes, gem_handle); in CreateFbId() 110 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId() 111 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId() 112 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId() 113 drm_buffer.drm_format_modifier); in CreateFbId()
|
D | drm_master.h | 61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id);
|
/hardware/qcom/display/msm8909w_3100/libdrmutils/ |
D | drm_master.cpp | 97 int DRMMaster::CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id) { in CreateFbId() argument 99 int ret = drmPrimeFDToHandle(dev_fd_, drm_buffer.fd, &gem_handle); in CreateFbId() 106 cmd2.width = drm_buffer.width; in CreateFbId() 107 cmd2.height = drm_buffer.height; in CreateFbId() 108 cmd2.pixel_format = drm_buffer.drm_format; in CreateFbId() 110 fill(begin(cmd2.handles), begin(cmd2.handles) + drm_buffer.num_planes, gem_handle); in CreateFbId() 111 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId() 112 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId() 113 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId() 114 drm_buffer.drm_format_modifier); in CreateFbId()
|
D | drm_master.h | 61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id);
|
/hardware/qcom/display/msm8998/libdrmutils/ |
D | drm_master.cpp | 97 int DRMMaster::CreateFbId(const DRMBuffer &drm_buffer, uint32_t *gem_handle, uint32_t *fb_id) { in CreateFbId() argument 98 int ret = drmPrimeFDToHandle(dev_fd_, drm_buffer.fd, gem_handle); in CreateFbId() 105 cmd2.width = drm_buffer.width; in CreateFbId() 106 cmd2.height = drm_buffer.height; in CreateFbId() 107 cmd2.pixel_format = drm_buffer.drm_format; in CreateFbId() 109 fill(begin(cmd2.handles), begin(cmd2.handles) + drm_buffer.num_planes, *gem_handle); in CreateFbId() 110 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches)); in CreateFbId() 111 copy(begin(drm_buffer.offset), end(drm_buffer.offset), begin(cmd2.offsets)); in CreateFbId() 112 fill(begin(cmd2.modifier), begin(cmd2.modifier) + drm_buffer.num_planes, in CreateFbId() 113 drm_buffer.drm_format_modifier); in CreateFbId()
|
D | drm_master.h | 61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *gem_handle, uint32_t *fb_id);
|