Lines Matching full:format
62 copy->format = state->format; in tegra_plane_atomic_duplicate_state()
87 uint32_t format, in tegra_plane_format_mod_supported() argument
90 const struct drm_format_info *info = drm_format_info(format); in tegra_plane_format_mod_supported()
117 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_pin()
180 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_unpin()
240 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument
248 *format = WIN_COLOR_DEPTH_B4G4R4A4; in tegra_plane_format()
252 *format = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format()
256 *format = WIN_COLOR_DEPTH_B5G6R5; in tegra_plane_format()
260 *format = WIN_COLOR_DEPTH_A1B5G5R5; in tegra_plane_format()
264 *format = WIN_COLOR_DEPTH_B8G8R8A8; in tegra_plane_format()
268 *format = WIN_COLOR_DEPTH_R8G8B8A8; in tegra_plane_format()
272 *format = WIN_COLOR_DEPTH_R4G4B4A4; in tegra_plane_format()
276 *format = WIN_COLOR_DEPTH_R5G5B5A; in tegra_plane_format()
280 *format = WIN_COLOR_DEPTH_AR5G5B5; in tegra_plane_format()
284 *format = WIN_COLOR_DEPTH_B5G5R5X1; in tegra_plane_format()
288 *format = WIN_COLOR_DEPTH_X1B5G5R5; in tegra_plane_format()
292 *format = WIN_COLOR_DEPTH_R5G5B5X1; in tegra_plane_format()
296 *format = WIN_COLOR_DEPTH_X1R5G5B5; in tegra_plane_format()
300 *format = WIN_COLOR_DEPTH_R5G6B5; in tegra_plane_format()
304 *format = WIN_COLOR_DEPTH_A8R8G8B8; in tegra_plane_format()
308 *format = WIN_COLOR_DEPTH_A8B8G8R8; in tegra_plane_format()
312 *format = WIN_COLOR_DEPTH_B8G8R8X8; in tegra_plane_format()
316 *format = WIN_COLOR_DEPTH_R8G8B8X8; in tegra_plane_format()
320 *format = WIN_COLOR_DEPTH_YCbCr422; in tegra_plane_format()
327 *format = WIN_COLOR_DEPTH_YCbCr422; in tegra_plane_format()
332 *format = WIN_COLOR_DEPTH_YCbCr420P; in tegra_plane_format()
336 *format = WIN_COLOR_DEPTH_YCbCr422P; in tegra_plane_format()
346 bool tegra_plane_format_is_yuv(unsigned int format, bool *planar) in tegra_plane_format_is_yuv() argument
348 switch (format) { in tegra_plane_format_is_yuv()
376 static bool __drm_format_has_alpha(u32 format) in __drm_format_has_alpha() argument
378 switch (format) { in __drm_format_has_alpha()
429 unsigned int format; in tegra_plane_setup_opacity() local
432 switch (state->format) { in tegra_plane_setup_opacity()
441 err = tegra_plane_format_get_alpha(state->format, &format); in tegra_plane_setup_opacity()
445 state->format = format; in tegra_plane_setup_opacity()
520 if (new->fb && __drm_format_has_alpha(new->fb->format->format)) in tegra_plane_update_transparency()