Home
last modified time | relevance | path

Searched refs:cmd2 (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/display/msm8909/libdrmutils/
Ddrm_master.cpp105 struct drm_mode_fb_cmd2 cmd2 {}; in CreateFbId() struct
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()
109 cmd2.flags = DRM_MODE_FB_MODIFIERS; 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()
116 if ((ret = drmIoctl(dev_fd_, DRM_IOCTL_MODE_ADDFB2, &cmd2))) { in CreateFbId()
[all …]
/hardware/qcom/display/msm8909w_3100/libdrmutils/
Ddrm_master.cpp105 struct drm_mode_fb_cmd2 cmd2 {}; in CreateFbId() struct
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()
109 cmd2.flags = DRM_MODE_FB_MODIFIERS; 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()
116 if ((ret = drmIoctl(dev_fd_, DRM_IOCTL_MODE_ADDFB2, &cmd2))) { in CreateFbId()
[all …]
/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_master.cpp104 struct drm_mode_fb_cmd2 cmd2 {}; in CreateFbId() struct
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()
108 cmd2.flags = DRM_MODE_FB_MODIFIERS; 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()
115 if ((ret = drmIoctl(dev_fd_, DRM_IOCTL_MODE_ADDFB2, &cmd2))) { in CreateFbId()
[all …]