Home
last modified time | relevance | path

Searched refs:drm_buffer (Results 1 – 12 of 12) sorted by relevance

/hardware/qcom/display/msm8909/libdrmutils/
Ddrm_master.cpp97 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()
Ddrm_master.h61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id);
/hardware/qcom/sdm845/display/libdrmutils/
Ddrm_master.cpp96 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()
Ddrm_master.h61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id);
/hardware/qcom/sm8150/display/libdrmutils/
Ddrm_master.cpp98 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()
Ddrm_master.h61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id);
/hardware/qcom/sm7250/display/libdrmutils/
Ddrm_master.cpp96 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()
Ddrm_master.h61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id);
/hardware/qcom/display/msm8909w_3100/libdrmutils/
Ddrm_master.cpp97 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()
Ddrm_master.h61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *fb_id);
/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_master.cpp97 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()
Ddrm_master.h61 int CreateFbId(const DRMBuffer &drm_buffer, uint32_t *gem_handle, uint32_t *fb_id);