Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dframebuffer.c314 int pitch_lines = 0; in psbfb_create() local
331 mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((bpp + 7) / 8), 4096 >> pitch_lines); in psbfb_create()
339 if (pitch_lines) in psbfb_create()
340 pitch_lines *= 2; in psbfb_create()
342 pitch_lines = 1; in psbfb_create()
344 } while (backing == NULL && pitch_lines <= 16); in psbfb_create()
347 pitch_lines /= 2; in psbfb_create()
357 pitch_lines = 64; in psbfb_create()
388 if (dev_priv->ops->accel_2d && pitch_lines > 8) /* 2D engine */ in psbfb_create()