Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/udl/
Dudl_transfer.c75 static inline u16 get_pixel_val16(const uint8_t *pixel, int log_bpp) in get_pixel_val16() argument
78 if (log_bpp == 1) in get_pixel_val16()
117 const uint8_t *const cmd_buffer_end, int log_bpp) in udl_compress_hline16() argument
119 const int bpp = 1 << log_bpp; in udl_compress_hline16()
145 (unsigned long)(pixel_end - pixel) >> log_bpp, in udl_compress_hline16()
146 (unsigned long)(cmd_buffer_end - 1 - cmd) / 2) << log_bpp); in udl_compress_hline16()
148 pixel_val16 = get_pixel_val16(pixel, log_bpp); in udl_compress_hline16()
160 pixel_val16 = get_pixel_val16(pixel, log_bpp); in udl_compress_hline16()
169 raw_pixel_start) >> log_bpp) + 1) & 0xFF; in udl_compress_hline16()
172 *cmd++ = (((pixel - start) >> log_bpp) - 1) & 0xFF; in udl_compress_hline16()
[all …]
Dudl_modeset.c278 int log_bpp; in udl_handle_damage() local
284 log_bpp = ret; in udl_handle_damage()
312 const int byte_offset = line_offset + (clip.x1 << log_bpp); in udl_handle_damage()
313 const int dev_byte_offset = (fb->width * i + clip.x1) << log_bpp; in udl_handle_damage()
314 const int byte_width = (clip.x2 - clip.x1) << log_bpp; in udl_handle_damage()
315 ret = udl_render_hline(dev, log_bpp, &urb, (char *)vaddr, in udl_handle_damage()
Dudl_drv.h80 int udl_render_hline(struct drm_device *dev, int log_bpp, struct urb **urb_ptr,