Home
last modified time | relevance | path

Searched refs:drm_format_info (Results 1 – 25 of 93) sorted by relevance

1234

/linux-6.1.9/include/drm/
Ddrm_fourcc.h61 struct drm_format_info { struct
155 drm_format_info_is_yuv_packed(const struct drm_format_info *info) in drm_format_info_is_yuv_packed() argument
169 drm_format_info_is_yuv_semiplanar(const struct drm_format_info *info) in drm_format_info_is_yuv_semiplanar()
183 drm_format_info_is_yuv_planar(const struct drm_format_info *info) in drm_format_info_is_yuv_planar()
198 drm_format_info_is_yuv_sampling_410(const struct drm_format_info *info) in drm_format_info_is_yuv_sampling_410()
213 drm_format_info_is_yuv_sampling_411(const struct drm_format_info *info) in drm_format_info_is_yuv_sampling_411()
228 drm_format_info_is_yuv_sampling_420(const struct drm_format_info *info) in drm_format_info_is_yuv_sampling_420()
243 drm_format_info_is_yuv_sampling_422(const struct drm_format_info *info) in drm_format_info_is_yuv_sampling_422()
258 drm_format_info_is_yuv_sampling_444(const struct drm_format_info *info) in drm_format_info_is_yuv_sampling_444()
273 int drm_format_info_plane_width(const struct drm_format_info *info, int width, in drm_format_info_plane_width()
[all …]
Ddrm_format_helper.h12 struct drm_format_info;
18 unsigned int drm_fb_clip_offset(unsigned int pitch, const struct drm_format_info *format,
Ddrm_mode_config.h38 struct drm_format_info;
98 const struct drm_format_info *(*get_format_info)(const struct drm_mode_fb_cmd2 *mode_cmd);
/linux-6.1.9/drivers/gpu/drm/tests/
Ddrm_format_test.c14 const struct drm_format_info *info = NULL; in drm_test_format_block_width_invalid()
23 const struct drm_format_info *info = drm_format_info(DRM_FORMAT_XRGB4444); in drm_test_format_block_width_one_plane()
34 const struct drm_format_info *info = drm_format_info(DRM_FORMAT_NV12); in drm_test_format_block_width_two_plane()
46 const struct drm_format_info *info = drm_format_info(DRM_FORMAT_YUV422); in drm_test_format_block_width_three_plane()
59 const struct drm_format_info *info = drm_format_info(DRM_FORMAT_X0L0); in drm_test_format_block_width_tiled()
70 const struct drm_format_info *info = NULL; in drm_test_format_block_height_invalid()
79 const struct drm_format_info *info = drm_format_info(DRM_FORMAT_XRGB4444); in drm_test_format_block_height_one_plane()
90 const struct drm_format_info *info = drm_format_info(DRM_FORMAT_NV12); in drm_test_format_block_height_two_plane()
102 const struct drm_format_info *info = drm_format_info(DRM_FORMAT_YUV422); in drm_test_format_block_height_three_plane()
115 const struct drm_format_info *info = drm_format_info(DRM_FORMAT_X0L0); in drm_test_format_block_height_tiled()
[all …]
Ddrm_format_helper_test.c256 const struct drm_format_info *dst_fi = drm_format_info(dst_format); in conversion_buf_size()
301 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_gray8()
331 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgb332()
361 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgb565()
394 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgb888()
424 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_xrgb2101010()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_fourcc.c147 const struct drm_format_info *__drm_format_info(u32 format) in __drm_format_info()
149 static const struct drm_format_info formats[] = { in __drm_format_info()
332 const struct drm_format_info *drm_format_info(u32 format) in drm_format_info() function
334 const struct drm_format_info *info; in drm_format_info()
340 EXPORT_SYMBOL(drm_format_info);
351 const struct drm_format_info *
355 const struct drm_format_info *info = NULL; in drm_get_format_info()
361 info = drm_format_info(mode_cmd->pixel_format); in drm_get_format_info()
375 unsigned int drm_format_info_block_width(const struct drm_format_info *info, in drm_format_info_block_width()
395 unsigned int drm_format_info_block_height(const struct drm_format_info *info, in drm_format_info_block_height()
[all …]
Ddrm_client.c252 const struct drm_format_info *info = drm_format_info(format); in drm_client_buffer_create()
372 const struct drm_format_info *info; in drm_client_buffer_addfb()
375 info = drm_format_info(format); in drm_client_buffer_addfb()
Ddrm_gem_framebuffer_helper.c157 const struct drm_format_info *info; in drm_gem_fb_init_with_funcs()
498 const struct drm_format_info *info; in drm_gem_afbc_get_bpp()
593 const struct drm_format_info *info; in drm_gem_fb_afbc_init()
/linux-6.1.9/drivers/gpu/drm/omapdrm/
Domap_fb.c54 const struct drm_format_info *format;
85 const struct drm_format_info *format, int n, int x, int y) in get_linear_addr()
141 const struct drm_format_info *format = omap_fb->format; in omap_framebuffer_update_scanout()
339 const struct drm_format_info *info = drm_get_format_info(dev, in omap_framebuffer_create()
370 const struct drm_format_info *format = NULL; in omap_framebuffer_init()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_fb.h43 const struct drm_format_info *
47 intel_format_info_is_yuv_semiplanar(const struct drm_format_info *info,
Di9xx_plane.c698 const struct drm_format_info *info = drm_format_info(pixel_format); in hsw_primary_max_stride()
710 const struct drm_format_info *info = drm_format_info(pixel_format); in ilk_primary_max_stride()
725 const struct drm_format_info *info = drm_format_info(pixel_format); in i965_plane_max_stride()
1020 fb->format = drm_format_info(fourcc); in i9xx_get_initial_plane_config()
Dintel_fb.c32 static const struct drm_format_info skl_ccs_formats[] = {
50 static const struct drm_format_info gen12_ccs_formats[] = {
96 static const struct drm_format_info gen12_ccs_cc_formats[] = {
111 static const struct drm_format_info gen12_flat_ccs_cc_formats[] = {
134 const struct drm_format_info *formats;
260 static const struct drm_format_info *
261 lookup_format_info(const struct drm_format_info formats[], in lookup_format_info()
282 const struct drm_format_info *
418 const struct drm_format_info *info) in format_is_yuv_semiplanar()
437 bool intel_format_info_is_yuv_semiplanar(const struct drm_format_info *info, in intel_format_info_is_yuv_semiplanar()
[all …]
/linux-6.1.9/drivers/gpu/drm/imx/dcss/
Ddcss-dev.h135 const struct drm_format_info *format, u64 modifier);
152 const struct drm_format_info *format, int alpha);
172 const struct drm_format_info *format,
Ddcss-dpr.c96 struct drm_format_info format;
288 const struct drm_format_info *format) in dcss_dpr_pix_size_set()
431 const struct drm_format_info *format) in dcss_dpr_setup_components()
508 const struct drm_format_info *format, u64 modifier) in dcss_dpr_format_set()
/linux-6.1.9/drivers/gpu/drm/tiny/
Dsimpledrm.c61 static const struct drm_format_info *
67 const struct drm_format_info *info; in simplefb_get_validated_format()
76 info = drm_format_info(fmt->fourcc); in simplefb_get_validated_format()
111 static const struct drm_format_info *
175 static const struct drm_format_info *
206 const struct drm_format_info *format;
637 const struct drm_format_info *format; in simpledrm_device_create()
/linux-6.1.9/drivers/gpu/drm/gud/
Dgud_pipe.c54 static size_t gud_xrgb8888_to_r124(u8 *dst, const struct drm_format_info *format, in gud_xrgb8888_to_r124()
103 static size_t gud_xrgb8888_to_color(u8 *dst, const struct drm_format_info *format, in gud_xrgb8888_to_color()
155 const struct drm_format_info *format, struct drm_rect *rect, in gud_prep_flush()
288 const struct drm_format_info *format, struct drm_rect *rect) in gud_flush_rect()
370 const struct drm_format_info *format; in gud_flush_work()
463 const struct drm_format_info *format = fb->format; in gud_pipe_check()
Dgud_drv.c35 static const struct drm_format_info gud_drm_format_r1 = {
45 static const struct drm_format_info gud_drm_format_xrgb1111 = {
437 const struct drm_format_info *xrgb8888_emulation_format = NULL; in gud_probe()
507 const struct drm_format_info *info; in gud_probe()
522 info = drm_format_info(format); in gud_probe()
/linux-6.1.9/drivers/gpu/drm/mgag200/
Dmgag200_mode.c32 const struct drm_format_info *format) in mgag200_crtc_set_gamma_linear()
69 const struct drm_format_info *format, in mgag200_crtc_set_gamma()
283 static u8 mgag200_get_bpp_shift(const struct drm_format_info *format) in mgag200_get_bpp_shift()
326 void mgag200_set_format_regs(struct mga_device *mdev, const struct drm_format_info *format) in mgag200_set_format_regs()
615 const struct drm_format_info *format = mgag200_crtc_state->format; in mgag200_crtc_helper_atomic_flush()
632 const struct drm_format_info *format = mgag200_crtc_state->format; in mgag200_crtc_helper_atomic_enable()
/linux-6.1.9/drivers/gpu/drm/arm/display/komeda/
Dkomeda_framebuffer.c44 const struct drm_format_info *info = fb->format; in komeda_fb_afbc_size_check()
116 const struct drm_format_info *info = fb->format; in komeda_fb_none_afbc_size_check()
212 const struct drm_format_info *info = fb->format; in komeda_fb_check_src_coords()
/linux-6.1.9/drivers/gpu/drm/sun4i/
Dsun8i_vi_scaler.c872 const struct drm_format_info *format) in sun8i_vi_scaler_set_coeff()
929 const struct drm_format_info *format) in sun8i_vi_scaler_setup()
Dsun4i_frontend.c247 sun4i_frontend_drm_format_to_input_fmt(const struct drm_format_info *format, in sun4i_frontend_drm_format_to_input_fmt()
267 sun4i_frontend_drm_format_to_input_mode(const struct drm_format_info *format, in sun4i_frontend_drm_format_to_input_mode()
293 sun4i_frontend_drm_format_to_input_sequence(const struct drm_format_info *format, in sun4i_frontend_drm_format_to_input_sequence()
407 const struct drm_format_info *format = fb->format; in sun4i_frontend_update_formats()
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c595 const struct drm_format_info *info = drm_format_info(pixel_format); in calc_scalex_steps()
618 const struct drm_format_info *info = drm_format_info(pixel_format); in calc_scaley_steps()
640 const struct drm_format_info *info = drm_format_info(format->base.pixel_format); in get_scale_config()
695 const struct drm_format_info *info = drm_format_info(format->base.pixel_format); in mdp5_write_pixel_ext()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.h59 const struct drm_format_info *amd_get_format_info(const struct drm_mode_fb_cmd2 *cmd);
/linux-6.1.9/drivers/gpu/drm/tidss/
Dtidss_plane.c31 const struct drm_format_info *finfo; in tidss_plane_atomic_check()
71 finfo = drm_format_info(new_plane_state->fb->format->format); in tidss_plane_atomic_check()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_display.c525 static const struct drm_format_info dcc_formats[] = {
553 static const struct drm_format_info dcc_retile_formats[] = {
581 static const struct drm_format_info *
582 lookup_format_info(const struct drm_format_info formats[], in lookup_format_info()
595 const struct drm_format_info *
778 const struct drm_format_info *format_info; in convert_tiling_flags_to_modifier()
916 const struct drm_format_info *format, in amdgpu_display_verify_plane()
968 const struct drm_format_info *format_info = drm_format_info(rfb->base.format->format); in amdgpu_display_verify_sizes()

1234