Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Di915_gem_object.c355 unsigned int max_pitch; in igt_partial_tiling() local
398 max_pitch = 8192 / tile.width; in igt_partial_tiling()
400 max_pitch = 128 * I965_FENCE_MAX_PITCH_VAL / tile.width; in igt_partial_tiling()
402 max_pitch = 128 * GEN7_FENCE_MAX_PITCH_VAL / tile.width; in igt_partial_tiling()
404 for (pitch = max_pitch; pitch; pitch >>= 1) { in igt_partial_tiling()
421 if (pitch < max_pitch && INTEL_GEN(i915) >= 4) { in igt_partial_tiling()
432 for_each_prime_number(pitch, max_pitch) { in igt_partial_tiling()
/Linux-v4.19/drivers/gpu/drm/cirrus/
Dcirrus_main.c313 const int max_pitch = 0x1FF << 3; /* (4096 - 1) & ~111b bytes */ in cirrus_check_framebuffer() local
321 if (pitch > max_pitch) in cirrus_check_framebuffer()
/Linux-v4.19/drivers/gpu/drm/rcar-du/
Drcar_du_kms.c177 unsigned int max_pitch; in rcar_du_fb_create() local
194 max_pitch = 4096 * bpp; in rcar_du_fb_create()
202 mode_cmd->pitches[0] >= max_pitch) { in rcar_du_fb_create()