Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/udl/
H A Dudl_transfer.c39 if (log_bpp == 1) in get_pixel_val16()
78 const uint8_t *const cmd_buffer_end, int log_bpp) in udl_compress_hline16() argument
80 const int bpp = 1 << log_bpp; in udl_compress_hline16()
106 (unsigned long)(pixel_end - pixel) >> log_bpp, in udl_compress_hline16()
109 pixel_val16 = get_pixel_val16(pixel, log_bpp); in udl_compress_hline16()
121 pixel_val16 = get_pixel_val16(pixel, log_bpp); in udl_compress_hline16()
130 raw_pixel_start) >> log_bpp) + 1) & 0xFF; in udl_compress_hline16()
133 *cmd++ = (((pixel - start) >> log_bpp) - 1) & 0xFF; in udl_compress_hline16()
179 u32 base16 = 0 + (device_byte_offset >> log_bpp) * 2; in udl_render_hline()
184 if (WARN_ON(!(log_bpp == 1 || log_bpp == 2))) { in udl_render_hline()
[all …]
H A Dudl_modeset.c212 int log_bpp; in udl_handle_damage() local
217 log_bpp = ret; in udl_handle_damage()
226 const int byte_offset = line_offset + (clip->x1 << log_bpp); in udl_handle_damage()
227 const int dev_byte_offset = (fb->width * i + clip->x1) << log_bpp; in udl_handle_damage()
228 const int byte_width = drm_rect_width(clip) << log_bpp; in udl_handle_damage()
229 ret = udl_render_hline(dev, log_bpp, &urb, (char *)vaddr, in udl_handle_damage()
H A Dudl_drv.h98 int udl_render_hline(struct drm_device *dev, int log_bpp, struct urb **urb_ptr,