Lines Matching refs:format

64 	copy->format = state->format;  in tegra_plane_atomic_duplicate_state()
108 uint32_t format, in tegra_plane_format_mod_supported() argument
111 const struct drm_format_info *info = drm_format_info(format); in tegra_plane_format_mod_supported()
145 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_pin()
193 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_unpin()
246 fmt = state->fb->format; in tegra_plane_calculate_memory_bandwidth()
326 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument
334 *format = WIN_COLOR_DEPTH_B4G4R4A4; in tegra_plane_format()
338 *format = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format()
342 *format = WIN_COLOR_DEPTH_B5G6R5; in tegra_plane_format()
346 *format = WIN_COLOR_DEPTH_A1B5G5R5; in tegra_plane_format()
350 *format = WIN_COLOR_DEPTH_B8G8R8A8; in tegra_plane_format()
354 *format = WIN_COLOR_DEPTH_R8G8B8A8; in tegra_plane_format()
358 *format = WIN_COLOR_DEPTH_R4G4B4A4; in tegra_plane_format()
362 *format = WIN_COLOR_DEPTH_R5G5B5A; in tegra_plane_format()
366 *format = WIN_COLOR_DEPTH_AR5G5B5; in tegra_plane_format()
370 *format = WIN_COLOR_DEPTH_B5G5R5X1; in tegra_plane_format()
374 *format = WIN_COLOR_DEPTH_X1B5G5R5; in tegra_plane_format()
378 *format = WIN_COLOR_DEPTH_R5G5B5X1; in tegra_plane_format()
382 *format = WIN_COLOR_DEPTH_X1R5G5B5; in tegra_plane_format()
386 *format = WIN_COLOR_DEPTH_R5G6B5; in tegra_plane_format()
390 *format = WIN_COLOR_DEPTH_A8R8G8B8; in tegra_plane_format()
394 *format = WIN_COLOR_DEPTH_A8B8G8R8; in tegra_plane_format()
398 *format = WIN_COLOR_DEPTH_B8G8R8X8; in tegra_plane_format()
402 *format = WIN_COLOR_DEPTH_R8G8B8X8; in tegra_plane_format()
406 *format = WIN_COLOR_DEPTH_YCbCr422; in tegra_plane_format()
413 *format = WIN_COLOR_DEPTH_YCbCr422; in tegra_plane_format()
421 *format = WIN_COLOR_DEPTH_YCbCr422; in tegra_plane_format()
429 *format = WIN_COLOR_DEPTH_YCbCr422; in tegra_plane_format()
434 *format = WIN_COLOR_DEPTH_YCbCr420P; in tegra_plane_format()
438 *format = WIN_COLOR_DEPTH_YCbCr422P; in tegra_plane_format()
442 *format = WIN_COLOR_DEPTH_YCbCr444P; in tegra_plane_format()
446 *format = WIN_COLOR_DEPTH_YCbCr420SP; in tegra_plane_format()
450 *format = WIN_COLOR_DEPTH_YCrCb420SP; in tegra_plane_format()
454 *format = WIN_COLOR_DEPTH_YCbCr422SP; in tegra_plane_format()
458 *format = WIN_COLOR_DEPTH_YCrCb422SP; in tegra_plane_format()
462 *format = WIN_COLOR_DEPTH_YCbCr444SP; in tegra_plane_format()
466 *format = WIN_COLOR_DEPTH_YCrCb444SP; in tegra_plane_format()
476 bool tegra_plane_format_is_indexed(unsigned int format) in tegra_plane_format_is_indexed() argument
478 switch (format) { in tegra_plane_format_is_indexed()
489 bool tegra_plane_format_is_yuv(unsigned int format, unsigned int *planes, unsigned int *bpc) in tegra_plane_format_is_yuv() argument
491 switch (format) { in tegra_plane_format_is_yuv()
540 static bool __drm_format_has_alpha(u32 format) in __drm_format_has_alpha() argument
542 switch (format) { in __drm_format_has_alpha()
593 unsigned int format; in tegra_plane_setup_opacity() local
596 switch (state->format) { in tegra_plane_setup_opacity()
605 err = tegra_plane_format_get_alpha(state->format, &format); in tegra_plane_setup_opacity()
609 state->format = format; in tegra_plane_setup_opacity()
684 if (new->fb && __drm_format_has_alpha(new->fb->format->format)) in tegra_plane_update_transparency()