/hardware/qcom/display/msm8909/libdrmutils/ |
D | drm_master.cpp | 105 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/sdm845/display/libdrmutils/ |
D | drm_master.cpp | 104 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 …]
|
/hardware/qcom/sm8150/display/libdrmutils/ |
D | drm_master.cpp | 106 struct drm_mode_fb_cmd2 cmd2 {}; in CreateFbId() struct 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() 110 cmd2.flags = DRM_MODE_FB_MODIFIERS; 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() 117 if ((ret = drmIoctl(dev_fd_, DRM_IOCTL_MODE_ADDFB2, &cmd2))) { in CreateFbId() [all …]
|
/hardware/qcom/sm7250/display/libdrmutils/ |
D | drm_master.cpp | 104 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 …]
|
/hardware/qcom/display/msm8909w_3100/libdrmutils/ |
D | drm_master.cpp | 105 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/ |
D | drm_master.cpp | 104 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 …]
|
/hardware/ril/reference-ril/ |
D | reference-ril.c | 1677 char *cmd1, *cmd2; local 1703 asprintf(&cmd2, "%s%s", smsc, pdu); 1705 err = at_send_command_sms(cmd1, cmd2, "+CMGS:", &p_response); 1708 free(cmd2);
|