/openbmc/linux/include/drm/ |
H A D | drm_fourcc.h | 61 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 …]
|
H A D | drm_format_helper.h | 12 struct drm_format_info; 18 unsigned int drm_fb_clip_offset(unsigned int pitch, const struct drm_format_info *format,
|
H A 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);
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A 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 …]
|
H A D | drm_format_helper_test.c | 442 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 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() 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 D | drm_client.c | 279 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 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()
|
/openbmc/linux/drivers/gpu/drm/tiny/ |
H A 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() 613 const struct drm_format_info *format = drm_format_info(DRM_FORMAT_XRGB8888); in cirrus_mode_config_mode_valid()
|
H A D | ofdrm.c | 96 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 D | simpledrm.c | 63 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 D | zynqmp_disp.h | 28 struct drm_format_info; 69 const struct drm_format_info *info);
|
/openbmc/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_fb.c | 54 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/i915/display/ |
H A D | intel_fb.h | 44 const struct drm_format_info * 48 intel_format_info_is_yuv_semiplanar(const struct drm_format_info *info,
|
H A D | i9xx_plane.c | 700 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/imx/dcss/ |
H A D | dcss-dev.h | 134 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 D | dcss-dpr.c | 96 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 D | mgag200_drv.h | 182 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 D | mgag200_mode.c | 32 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 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() 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 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()
|
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/ |
H A 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()
|
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_plane.c | 594 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()
|
/openbmc/linux/drivers/gpu/drm/sun4i/ |
H A 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()
|
H A 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()
|