Home
last modified time | relevance | path

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

12345

/linux-6.15/include/drm/
H A Ddrm_fourcc.h62 struct drm_format_info { struct
156 drm_format_info_is_yuv_packed(const struct drm_format_info *info) in drm_format_info_is_yuv_packed() argument
170 drm_format_info_is_yuv_semiplanar(const struct drm_format_info *info) in drm_format_info_is_yuv_semiplanar()
184 drm_format_info_is_yuv_planar(const struct drm_format_info *info) in drm_format_info_is_yuv_planar()
199 drm_format_info_is_yuv_sampling_410(const struct drm_format_info *info) in drm_format_info_is_yuv_sampling_410()
214 drm_format_info_is_yuv_sampling_411(const struct drm_format_info *info) in drm_format_info_is_yuv_sampling_411()
229 drm_format_info_is_yuv_sampling_420(const struct drm_format_info *info) in drm_format_info_is_yuv_sampling_420()
308 const struct drm_format_info *__drm_format_info(u32 format);
309 const struct drm_format_info *drm_format_info(u32 format);
310 const struct drm_format_info *
[all …]
H A Ddrm_format_helper.h12 struct drm_format_info;
70 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);
/linux-6.15/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.c577 const struct drm_format_info *dst_fi = drm_format_info(dst_format); in conversion_buf_size()
652 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_gray8()
685 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgb332()
718 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgb565()
772 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_xrgb1555()
819 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_argb1555()
866 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgba5551()
913 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgb888()
961 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_bgr888()
1390 const struct drm_format_info *format_info = drm_format_info(params->format); in drm_test_fb_clip_offset()
[all …]
/linux-6.15/drivers/gpu/drm/clients/
H A Ddrm_client_internal.h7 struct drm_format_info;
10 int drm_fbdev_client_setup(struct drm_device *dev, const struct drm_format_info *format);
13 const struct drm_format_info *format) in drm_fbdev_client_setup()
H A Ddrm_client_setup.c32 void drm_client_setup(struct drm_device *dev, const struct drm_format_info *format) in drm_client_setup()
67 drm_client_setup(dev, drm_format_info(fourcc)); in drm_client_setup_with_fourcc()
/linux-6.15/include/drm/clients/
H A Ddrm_client_setup.h9 struct drm_format_info;
12 void drm_client_setup(struct drm_device *dev, const struct drm_format_info *format);
17 const struct drm_format_info *format) in drm_client_setup()
/linux-6.15/drivers/gpu/drm/
H A Ddrm_fourcc.c175 const struct drm_format_info *__drm_format_info(u32 format) in __drm_format_info()
177 static const struct drm_format_info formats[] = { in __drm_format_info()
372 const struct drm_format_info *drm_format_info(u32 format) in drm_format_info() function
374 const struct drm_format_info *info; in drm_format_info()
380 EXPORT_SYMBOL(drm_format_info);
391 const struct drm_format_info *
395 const struct drm_format_info *info = NULL; in drm_get_format_info()
401 info = drm_format_info(mode_cmd->pixel_format); in drm_get_format_info()
415 unsigned int drm_format_info_block_width(const struct drm_format_info *info, in drm_format_info_block_width()
435 unsigned int drm_format_info_block_height(const struct drm_format_info *info, in drm_format_info_block_height()
[all …]
H A Ddrm_gem_framebuffer_helper.c157 const struct drm_format_info *info; in drm_gem_fb_init_with_funcs()
502 const struct drm_format_info *info; in drm_gem_afbc_get_bpp()
597 const struct drm_format_info *info; in drm_gem_fb_afbc_init()
/linux-6.15/drivers/gpu/drm/tiny/
H A Dcirrus-qemu.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()
616 const struct drm_format_info *format = drm_format_info(DRM_FORMAT_XRGB8888); in cirrus_mode_config_mode_valid()
H A Dofdrm.c95 static const struct drm_format_info *display_get_validated_format(struct drm_device *dev, in display_get_validated_format()
98 const struct drm_format_info *info; in display_get_validated_format()
140 info = drm_format_info(format); in display_get_validated_format()
301 const struct drm_format_info *format;
649 const struct drm_format_info *format) in ofdrm_device_set_gamma_linear()
687 const struct drm_format_info *format, in ofdrm_device_set_gamma()
738 const struct drm_format_info *format;
811 const struct drm_format_info *dst_format = odev->format; in ofdrm_primary_plane_helper_atomic_update()
850 const struct drm_format_info *dst_format = odev->format; in ofdrm_primary_plane_helper_atomic_disable()
932 const struct drm_format_info *format = ofdrm_crtc_state->format; in ofdrm_crtc_helper_atomic_flush()
[all …]
H A Dsimpledrm.c65 static const struct drm_format_info *
71 const struct drm_format_info *info; in simplefb_get_validated_format()
80 info = drm_format_info(fmt->fourcc); in simplefb_get_validated_format()
115 static const struct drm_format_info *
179 static const struct drm_format_info *
241 const struct drm_format_info *format;
786 const struct drm_format_info *format; in simpledrm_device_create()
/linux-6.15/drivers/gpu/drm/xlnx/
H A Dzynqmp_disp.h28 struct drm_format_info;
60 const struct drm_format_info *info);
/linux-6.15/drivers/gpu/drm/mgag200/
H A Dmgag200_drv.h178 const struct drm_format_info *format;
385 void mgag200_crtc_set_gamma_linear(struct mga_device *mdev, const struct drm_format_info *format);
387 const struct drm_format_info *format,
418 void mgag200_set_format_regs(struct mga_device *mdev, const struct drm_format_info *format);
H A Dmgag200_mode.c34 const struct drm_format_info *format) in mgag200_crtc_set_gamma_linear()
71 const struct drm_format_info *format, in mgag200_crtc_set_gamma()
291 static u8 mgag200_get_bpp_shift(const struct drm_format_info *format) in mgag200_get_bpp_shift()
334 void mgag200_set_format_regs(struct mga_device *mdev, const struct drm_format_info *format) in mgag200_set_format_regs()
642 const struct drm_format_info *format = mgag200_crtc_state->format; in mgag200_crtc_helper_atomic_flush()
659 const struct drm_format_info *format = mgag200_crtc_state->format; in mgag200_crtc_helper_atomic_enable()
/linux-6.15/drivers/gpu/drm/omapdrm/
H A Domap_fb.c55 const struct drm_format_info *format;
86 const struct drm_format_info *format, int n, int x, int y) in get_linear_addr()
142 const struct drm_format_info *format = omap_fb->format; in omap_framebuffer_update_scanout()
340 const struct drm_format_info *info = drm_get_format_info(dev, in omap_framebuffer_create()
371 const struct drm_format_info *format = NULL; in omap_framebuffer_init()
/linux-6.15/drivers/gpu/drm/imx/dcss/
H A Ddcss-dev.h133 const struct drm_format_info *format, u64 modifier);
150 const struct drm_format_info *format, int alpha);
170 const struct drm_format_info *format,
H A Ddcss-dpr.c96 struct drm_format_info format;
273 const struct drm_format_info *format) in dcss_dpr_pix_size_set()
416 const struct drm_format_info *format) in dcss_dpr_setup_components()
493 const struct drm_format_info *format, u64 modifier) in dcss_dpr_format_set()
/linux-6.15/drivers/gpu/drm/i915/display/
H A Dintel_fb.h49 const struct drm_format_info *
53 intel_format_info_is_yuv_semiplanar(const struct drm_format_info *info,
/linux-6.15/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()
102 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()
271 const struct drm_format_info *format, struct drm_rect *rect, in gud_flush_rect()
325 const struct drm_format_info *format; in gud_flush_damage()
460 const struct drm_format_info *format = fb->format; in gud_pipe_check()
H A Dgud_drv.c36 static const struct drm_format_info gud_drm_format_r1 = {
46 static const struct drm_format_info gud_drm_format_xrgb1111 = {
428 const struct drm_format_info *xrgb8888_emulation_format = NULL; in gud_probe()
498 const struct drm_format_info *info; in gud_probe()
513 info = drm_format_info(format); in gud_probe()
/linux-6.15/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()
/linux-6.15/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()
/linux-6.15/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c581 const struct drm_format_info *info = drm_format_info(pixel_format); in calc_scalex_steps()
604 const struct drm_format_info *info = drm_format_info(pixel_format); in calc_scaley_steps()
626 const struct drm_format_info *info = drm_format_info(format->pixel_format); in get_scale_config()
681 const struct drm_format_info *info = drm_format_info(format->pixel_format); in mdp5_write_pixel_ext()

12345