/linux-6.12.1/include/drm/ |
D | drm_fourcc.h | 62 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() 244 drm_format_info_is_yuv_sampling_422(const struct drm_format_info *info) in drm_format_info_is_yuv_sampling_422() 259 drm_format_info_is_yuv_sampling_444(const struct drm_format_info *info) in drm_format_info_is_yuv_sampling_444() 274 int drm_format_info_plane_width(const struct drm_format_info *info, int width, in drm_format_info_plane_width() [all …]
|
D | drm_format_helper.h | 12 struct drm_format_info; 70 unsigned int drm_fb_clip_offset(unsigned int pitch, const struct drm_format_info *format,
|
D | drm_mode_config.h | 38 struct drm_format_info; 98 const struct drm_format_info *(*get_format_info)(const struct drm_mode_fb_cmd2 *mode_cmd);
|
D | drm_panic.h | 30 const struct drm_format_info *format;
|
/linux-6.12.1/drivers/gpu/drm/tests/ |
D | drm_format_test.c | 14 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 …]
|
D | drm_format_helper_test.c | 543 const struct drm_format_info *dst_fi = drm_format_info(dst_format); in conversion_buf_size() 618 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_gray8() 651 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgb332() 684 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgb565() 738 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_xrgb1555() 785 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_argb1555() 832 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgba5551() 879 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_rgb888() 927 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_argb8888() 974 .format = drm_format_info(DRM_FORMAT_XRGB8888), in drm_test_fb_xrgb8888_to_xrgb2101010() [all …]
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_fourcc.c | 147 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() 344 const struct drm_format_info *drm_format_info(u32 format) in drm_format_info() function 346 const struct drm_format_info *info; in drm_format_info() 352 EXPORT_SYMBOL(drm_format_info); 363 const struct drm_format_info * 367 const struct drm_format_info *info = NULL; in drm_get_format_info() 373 info = drm_format_info(mode_cmd->pixel_format); in drm_get_format_info() 387 unsigned int drm_format_info_block_width(const struct drm_format_info *info, in drm_format_info_block_width() 407 unsigned int drm_format_info_block_height(const struct drm_format_info *info, in drm_format_info_block_height() [all …]
|
D | drm_gem_framebuffer_helper.c | 157 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()
|
/linux-6.12.1/drivers/gpu/drm/tiny/ |
D | cirrus.c | 77 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() 614 const struct drm_format_info *format = drm_format_info(DRM_FORMAT_XRGB8888); in cirrus_mode_config_mode_valid()
|
D | ofdrm.c | 95 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 …]
|
D | simpledrm.c | 65 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.12.1/drivers/gpu/drm/xlnx/ |
D | zynqmp_disp.h | 28 struct drm_format_info; 60 const struct drm_format_info *info);
|
/linux-6.12.1/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 55 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.12.1/drivers/gpu/drm/mgag200/ |
D | mgag200_drv.h | 179 const struct drm_format_info *format; 383 void mgag200_crtc_set_gamma_linear(struct mga_device *mdev, const struct drm_format_info *format); 385 const struct drm_format_info *format, 416 void mgag200_set_format_regs(struct mga_device *mdev, const struct drm_format_info *format);
|
D | mgag200_mode.c | 34 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.12.1/drivers/gpu/drm/i915/display/ |
D | intel_fb.h | 47 const struct drm_format_info * 51 intel_format_info_is_yuv_semiplanar(const struct drm_format_info *info,
|
/linux-6.12.1/drivers/gpu/drm/imx/dcss/ |
D | dcss-dev.h | 133 const struct drm_format_info *format, u64 modifier); 150 const struct drm_format_info *format, int alpha); 170 const struct drm_format_info *format,
|
D | dcss-dpr.c | 96 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.12.1/drivers/gpu/drm/gud/ |
D | gud_pipe.c | 52 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()
|
D | gud_drv.c | 35 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()
|
/linux-6.12.1/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_framebuffer.c | 44 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.12.1/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 581 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()
|
/linux-6.12.1/drivers/gpu/drm/sun4i/ |
D | sun8i_vi_scaler.c | 872 const struct drm_format_info *format) in sun8i_vi_scaler_set_coeff() 929 const struct drm_format_info *format) in sun8i_vi_scaler_setup()
|
D | sun8i_vi_layer.c | 56 const struct drm_format_info *format = state->fb->format; in sun8i_vi_layer_update_coord() 196 static u32 sun8i_vi_layer_get_csc_mode(const struct drm_format_info *format) in sun8i_vi_layer_get_csc_mode() 217 const struct drm_format_info *fmt; in sun8i_vi_layer_update_formats() 261 const struct drm_format_info *format = fb->format; in sun8i_vi_layer_update_buffer()
|
D | sun4i_frontend.c | 247 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()
|