Home
last modified time | relevance | path

Searched refs:finfo (Results 1 – 25 of 39) sorted by relevance

12

/hardware/libhardware/modules/gralloc/
Dframebuffer.cpp86 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
111 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
146 struct fb_fix_screeninfo finfo; local
147 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1)
243 finfo.id,
263 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1)
266 if (finfo.smem_len <= 0)
272 module->finfo = finfo;
281 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres_virtual);
338 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
Dgralloc_priv.h50 struct fb_fix_screeninfo finfo; member
Dgralloc.cpp121 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
267 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_free()
/hardware/qcom/display/msm8960/libgralloc/
Dframebuffer.cpp94 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
137 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
138 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
208 int numberOfBuffers = (int)(finfo.smem_len/size); in mapFrameBufferLocked()
273 finfo.id, in mapFrameBufferLocked()
293 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) in mapFrameBufferLocked()
296 if (finfo.smem_len <= 0) in mapFrameBufferLocked()
301 module->finfo = finfo; in mapFrameBufferLocked()
316 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
383 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dfb_priv.h49 struct fb_fix_screeninfo finfo; member
Dgpu.cpp192 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked()
316 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dframebuffer.cpp89 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post()
138 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
139 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
213 int numberOfBuffers = (int)(finfo.smem_len/size); in mapFrameBufferLocked()
282 finfo.id, in mapFrameBufferLocked()
302 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
307 if (finfo.smem_len <= 0) { in mapFrameBufferLocked()
314 module->finfo = finfo; in mapFrameBufferLocked()
329 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
434 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dfb_priv.h47 struct fb_fix_screeninfo finfo; member
/hardware/qcom/display/msm8996/libgralloc/
Dframebuffer.cpp84 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post()
131 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
132 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
206 int numberOfBuffers = (int)(finfo.smem_len/size); in mapFrameBufferLocked()
275 finfo.id, in mapFrameBufferLocked()
295 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
300 if (finfo.smem_len <= 0) { in mapFrameBufferLocked()
307 module->finfo = finfo; in mapFrameBufferLocked()
322 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
427 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dfb_priv.h47 struct fb_fix_screeninfo finfo; member
/hardware/qcom/display/msm8226/libgralloc/
Dframebuffer.cpp95 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post()
141 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
142 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
216 int numberOfBuffers = (int)(finfo.smem_len/size); in mapFrameBufferLocked()
285 finfo.id, in mapFrameBufferLocked()
305 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
310 if (finfo.smem_len <= 0) { in mapFrameBufferLocked()
317 module->finfo = finfo; in mapFrameBufferLocked()
332 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
411 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dfb_priv.h49 struct fb_fix_screeninfo finfo; member
/hardware/qcom/display/msm8084/libgralloc/
Dframebuffer.cpp94 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post()
140 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
141 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
215 int numberOfBuffers = (int)(finfo.smem_len/size); in mapFrameBufferLocked()
284 finfo.id, in mapFrameBufferLocked()
304 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
309 if (finfo.smem_len <= 0) { in mapFrameBufferLocked()
316 module->finfo = finfo; in mapFrameBufferLocked()
331 size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
410 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dfb_priv.h49 struct fb_fix_screeninfo finfo; member
/hardware/qcom/display/msm8909/libgralloc/
Dframebuffer.cpp89 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post()
138 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
139 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
213 int numberOfBuffers = (int)(finfo.smem_len/size); in mapFrameBufferLocked()
282 finfo.id, in mapFrameBufferLocked()
302 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
307 if (finfo.smem_len <= 0) { in mapFrameBufferLocked()
314 module->finfo = finfo; in mapFrameBufferLocked()
329 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
434 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dfb_priv.h47 struct fb_fix_screeninfo finfo; member
/hardware/qcom/display/msm8994/libgralloc/
Dframebuffer.cpp97 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post()
144 struct fb_fix_screeninfo finfo; in mapFrameBufferLocked() local
145 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
219 int numberOfBuffers = (int)(finfo.smem_len/size); in mapFrameBufferLocked()
288 finfo.id, in mapFrameBufferLocked()
308 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) { in mapFrameBufferLocked()
313 if (finfo.smem_len <= 0) { in mapFrameBufferLocked()
320 module->finfo = finfo; in mapFrameBufferLocked()
335 unsigned int fbSize = roundUpToPageSize(finfo.line_length * info.yres)* in mapFrameBufferLocked()
440 int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3); in fb_device_open()
Dfb_priv.h47 struct fb_fix_screeninfo finfo; member
/hardware/qcom/display/msm8960/liboverlay/
DmdpWrapper.h49 bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo);
96 void dump(const char* const s, const fb_fix_screeninfo& finfo);
101 inline bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo) { in getFScreenInfo() argument
102 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) < 0) { in getFScreenInfo()
261 inline void dump(const char* const s, const fb_fix_screeninfo& finfo) { in dump() argument
262 ALOGE("%s fb_fix_screeninfo type=%d", s, finfo.type); in dump()
DoverlayUtils.cpp263 fb_fix_screeninfo finfo; in isPanel3D() local
264 if(!mdp_wrapper::getFScreenInfo(fd.getFD(), finfo)) { in isPanel3D()
268 return (FB_TYPE_3D_PANEL == finfo.type) ? true : false; in isPanel3D()
/hardware/qcom/display/msm8226/liboverlay/
DmdpWrapper.h54 bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo);
116 void dump(const char* const s, const fb_fix_screeninfo& finfo);
121 inline bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo) { in getFScreenInfo() argument
123 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) < 0) { in getFScreenInfo()
352 inline void dump(const char* const s, const fb_fix_screeninfo& finfo) { in dump() argument
353 ALOGE("%s fb_fix_screeninfo type=%d", s, finfo.type); in dump()
/hardware/qcom/display/msm8084/liboverlay/
DmdpWrapper.h51 bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo);
119 void dump(const char* const s, const fb_fix_screeninfo& finfo);
124 inline bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo) { in getFScreenInfo() argument
125 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) < 0) { in getFScreenInfo()
357 inline void dump(const char* const s, const fb_fix_screeninfo& finfo) { in dump() argument
358 ALOGE("%s fb_fix_screeninfo type=%d", s, finfo.type); in dump()
DoverlayUtils.cpp340 fb_fix_screeninfo finfo; in isPanel3D() local
341 if(!mdp_wrapper::getFScreenInfo(fd.getFD(), finfo)) { in isPanel3D()
345 return (FB_TYPE_3D_PANEL == finfo.type) ? true : false; in isPanel3D()
/hardware/qcom/display/msm8994/liboverlay/
DmdpWrapper.h57 bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo);
118 void dump(const char* const s, const fb_fix_screeninfo& finfo);
123 inline bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo) { in getFScreenInfo() argument
125 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) < 0) { in getFScreenInfo()
376 inline void dump(const char* const s, const fb_fix_screeninfo& finfo) { in dump() argument
377 ALOGE("%s fb_fix_screeninfo type=%d", s, finfo.type); in dump()
/hardware/google/graphics/common/libhwc2.1/libvrr/
DVariableRefreshRateController.cpp808 struct sync_file_info* finfo = sync_file_info(fd); in getLastFenceSignalTimeUnlocked() local
809 if (finfo == nullptr) { in getLastFenceSignalTimeUnlocked()
813 if (finfo->status != 1) { in getLastFenceSignalTimeUnlocked()
814 const auto status = finfo->status; in getLastFenceSignalTimeUnlocked()
818 sync_file_info_free(finfo); in getLastFenceSignalTimeUnlocked()
822 struct sync_fence_info* pinfo = sync_get_fence_info(finfo); in getLastFenceSignalTimeUnlocked()
823 if (finfo->num_fences != 1) { in getLastFenceSignalTimeUnlocked()
827 for (size_t i = 0; i < finfo->num_fences; i++) { in getLastFenceSignalTimeUnlocked()
832 sync_file_info_free(finfo); in getLastFenceSignalTimeUnlocked()

12