Home
last modified time | relevance | path

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

12345

/openbmc/linux/include/drm/
H A 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()
307 const struct drm_format_info *__drm_format_info(u32 format);
308 const struct drm_format_info *drm_format_info(u32 format);
309 const struct drm_format_info *
[all …]
H A Ddrm_format_helper.h12 struct drm_format_info;
18 unsigned int drm_fb_clip_offset(unsigned int pitch, const struct drm_format_info *format,
H A 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);
/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_format_test.c23 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()
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()
135 const struct drm_format_info *info = drm_format_info(DRM_FORMAT_RGB332); in drm_test_format_min_pitch_one_plane_8bpp()
181 const struct drm_format_info *info = drm_format_info(DRM_FORMAT_RGB888); in drm_test_format_min_pitch_one_plane_24bpp()
[all …]
H A Ddrm_format_helper_test.c442 const struct drm_format_info *dst_fi = drm_format_info(dst_format); in conversion_buf_size()
517 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_gray8()
547 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgb332()
577 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgb565()
613 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_xrgb1555()
644 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_argb1555()
675 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgba5551()
706 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgb888()
740 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_argb8888()
771 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_xrgb2101010()
[all …]
/openbmc/linux/drivers/gpu/drm/
H A 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()
336 const struct drm_format_info *drm_format_info(u32 format) in drm_format_info() function
338 const struct drm_format_info *info; in drm_format_info()
344 EXPORT_SYMBOL(drm_format_info);
355 const struct drm_format_info *
359 const struct drm_format_info *info = NULL; in drm_get_format_info()
365 info = drm_format_info(mode_cmd->pixel_format); in drm_get_format_info()
379 unsigned int drm_format_info_block_width(const struct drm_format_info *info, in drm_format_info_block_width()
399 unsigned int drm_format_info_block_height(const struct drm_format_info *info, in drm_format_info_block_height()
[all …]
H A Ddrm_client.c279 const struct drm_format_info *info = drm_format_info(format); in drm_client_buffer_create()
399 const struct drm_format_info *info; in drm_client_buffer_addfb()
402 info = drm_format_info(format); in drm_client_buffer_addfb()
H A Ddrm_gem_framebuffer_helper.c157 const struct drm_format_info *info; in drm_gem_fb_init_with_funcs()
506 const struct drm_format_info *info; in drm_gem_afbc_get_bpp()
601 const struct drm_format_info *info; in drm_gem_fb_afbc_init()
/openbmc/linux/drivers/gpu/drm/tiny/
H A Dcirrus.c77 const struct drm_format_info *format;
147 static const struct drm_format_info *cirrus_convert_to(struct drm_framebuffer *fb) in cirrus_convert_to()
152 return drm_format_info(DRM_FORMAT_RGB888); in cirrus_convert_to()
155 return drm_format_info(DRM_FORMAT_RGB565); in cirrus_convert_to()
160 static const struct drm_format_info *cirrus_format(struct drm_framebuffer *fb) in cirrus_format()
162 const struct drm_format_info *format = cirrus_convert_to(fb); in cirrus_format()
171 const struct drm_format_info *format = cirrus_convert_to(fb); in cirrus_pitch()
271 const struct drm_format_info *format) in cirrus_format_set()
388 const struct drm_format_info *format = primary_plane_state->format; in cirrus_primary_plane_helper_atomic_update()
613 const struct drm_format_info *format = drm_format_info(DRM_FORMAT_XRGB8888); in cirrus_mode_config_mode_valid()
H A Dofdrm.c96 static const struct drm_format_info *display_get_validated_format(struct drm_device *dev, in display_get_validated_format()
99 const struct drm_format_info *info; in display_get_validated_format()
141 info = drm_format_info(format); in display_get_validated_format()
302 const struct drm_format_info *format;
650 const struct drm_format_info *format) in ofdrm_device_set_gamma_linear()
688 const struct drm_format_info *format, in ofdrm_device_set_gamma()
739 const struct drm_format_info *format;
798 const struct drm_format_info *dst_format = odev->format; in ofdrm_primary_plane_helper_atomic_update()
837 const struct drm_format_info *dst_format = odev->format; in ofdrm_primary_plane_helper_atomic_disable()
919 const struct drm_format_info *format = ofdrm_crtc_state->format; in ofdrm_crtc_helper_atomic_flush()
[all …]
H A Dsimpledrm.c63 static const struct drm_format_info *
69 const struct drm_format_info *info; in simplefb_get_validated_format()
78 info = drm_format_info(fmt->fourcc); in simplefb_get_validated_format()
113 static const struct drm_format_info *
177 static const struct drm_format_info *
233 const struct drm_format_info *format;
630 const struct drm_format_info *format; in simpledrm_device_create()
/openbmc/linux/drivers/gpu/drm/xlnx/
H A Dzynqmp_disp.h28 struct drm_format_info;
69 const struct drm_format_info *info);
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_fb.h44 const struct drm_format_info *
48 intel_format_info_is_yuv_semiplanar(const struct drm_format_info *info,
H A Di9xx_plane.c700 const struct drm_format_info *info = drm_format_info(pixel_format); in hsw_primary_max_stride()
712 const struct drm_format_info *info = drm_format_info(pixel_format); in ilk_primary_max_stride()
727 const struct drm_format_info *info = drm_format_info(pixel_format); in i965_plane_max_stride()
1022 fb->format = drm_format_info(fourcc); in i9xx_get_initial_plane_config()
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A 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()
/openbmc/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-dev.h134 const struct drm_format_info *format, u64 modifier);
151 const struct drm_format_info *format, int alpha);
171 const struct drm_format_info *format,
H A 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()
/openbmc/linux/drivers/gpu/drm/mgag200/
H A Dmgag200_drv.h182 const struct drm_format_info *format;
395 void mgag200_crtc_set_gamma_linear(struct mga_device *mdev, const struct drm_format_info *format);
397 const struct drm_format_info *format,
442 void mgag200_set_format_regs(struct mga_device *mdev, const struct drm_format_info *format);
H A 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()
617 const struct drm_format_info *format = mgag200_crtc_state->format; in mgag200_crtc_helper_atomic_flush()
634 const struct drm_format_info *format = mgag200_crtc_state->format; in mgag200_crtc_helper_atomic_enable()
/openbmc/linux/drivers/gpu/drm/gud/
H A Dgud_pipe.c52 static size_t gud_xrgb8888_to_r124(u8 *dst, const struct drm_format_info *format, in gud_xrgb8888_to_r124()
101 static size_t gud_xrgb8888_to_color(u8 *dst, const struct drm_format_info *format, in gud_xrgb8888_to_color()
154 const struct drm_format_info *format, struct drm_rect *rect, in gud_prep_flush()
269 const struct drm_format_info *format, struct drm_rect *rect) in gud_flush_rect()
321 const struct drm_format_info *format; in gud_flush_damage()
454 const struct drm_format_info *format = fb->format; in gud_pipe_check()
H A Dgud_drv.c35 static const struct drm_format_info gud_drm_format_r1 = {
45 static const struct drm_format_info gud_drm_format_xrgb1111 = {
427 const struct drm_format_info *xrgb8888_emulation_format = NULL; in gud_probe()
497 const struct drm_format_info *info; in gud_probe()
512 info = drm_format_info(format); in gud_probe()
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/
H A 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()
/openbmc/linux/drivers/gpu/drm/sun4i/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.h59 const struct drm_format_info *amdgpu_dm_plane_get_format_info(const struct drm_mode_fb_cmd2 *cmd);
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c594 const struct drm_format_info *info = drm_format_info(pixel_format); in calc_scalex_steps()
617 const struct drm_format_info *info = drm_format_info(pixel_format); in calc_scaley_steps()
639 const struct drm_format_info *info = drm_format_info(format->base.pixel_format); in get_scale_config()
694 const struct drm_format_info *info = drm_format_info(format->base.pixel_format); in mdp5_write_pixel_ext()

12345