| /OK3568_Linux_fs/kernel/drivers/gpu/drm/selftests/ |
| H A D | test-drm_framebuffer.c | 29 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888, 34 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 39 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 44 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 49 .cmd = { .width = MAX_WIDTH + 1, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 54 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 59 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = 0, 64 .cmd = { .width = 0, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 69 .cmd = { .width = MAX_WIDTH, .height = 0, .pixel_format = DRM_FORMAT_ABGR8888, 74 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn20/ |
| H A D | dcn20_dpp.c | 104 uint32_t pixel_format = 0; in dpp2_cnv_setup() local 129 pixel_format = 1; in dpp2_cnv_setup() 132 pixel_format = 3; in dpp2_cnv_setup() 137 pixel_format = 8; in dpp2_cnv_setup() 141 pixel_format = 10; in dpp2_cnv_setup() 146 pixel_format = 65; in dpp2_cnv_setup() 152 pixel_format = 64; in dpp2_cnv_setup() 158 pixel_format = 67; in dpp2_cnv_setup() 164 pixel_format = 66; in dpp2_cnv_setup() 169 pixel_format = 22; in dpp2_cnv_setup() [all …]
|
| H A D | dcn20_dsc.c | 367 …dsc_reg_vals->pixel_format = dsc_dc_pixel_encoding_to_dsc_pixel_format(dsc_cfg->pixel_encoding, ds… in dsc_prepare_config() 391 …if (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420 || dsc_reg_vals->pixel_format == DSC_… in dsc_prepare_config() 396 dsc_reg_vals->pps.convert_rgb = dsc_reg_vals->pixel_format == DSC_PIXFMT_RGB ? 1 : 0; in dsc_prepare_config() 397 dsc_reg_vals->pps.native_422 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR422); in dsc_prepare_config() 398 dsc_reg_vals->pps.native_420 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420); in dsc_prepare_config() 399 dsc_reg_vals->pps.simple_422 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_SIMPLE_YCBCR422); in dsc_prepare_config() 410 dsc_optc_cfg->is_pixel_format_444 = dsc_reg_vals->pixel_format == DSC_PIXFMT_RGB || in dsc_prepare_config() 411 dsc_reg_vals->pixel_format == DSC_PIXFMT_YCBCR444 || in dsc_prepare_config() 412 dsc_reg_vals->pixel_format == DSC_PIXFMT_SIMPLE_YCBCR422; in dsc_prepare_config() 555 INPUT_PIXEL_FORMAT, reg_vals->pixel_format, in dsc_write_to_registers() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn10/ |
| H A D | dcn10_dpp.c | 289 uint32_t pixel_format; in dpp1_cnv_setup() local 302 pixel_format = 0; in dpp1_cnv_setup() 332 pixel_format = 1; in dpp1_cnv_setup() 335 pixel_format = 3; in dpp1_cnv_setup() 340 pixel_format = 8; in dpp1_cnv_setup() 344 pixel_format = 10; in dpp1_cnv_setup() 348 pixel_format = 65; in dpp1_cnv_setup() 354 pixel_format = 64; in dpp1_cnv_setup() 360 pixel_format = 67; in dpp1_cnv_setup() 366 pixel_format = 66; in dpp1_cnv_setup() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/firmware/efi/libstub/ |
| H A D | gop.c | 164 pf = info->pixel_format; in choose_mode_modenum() 176 static u8 pixel_bpp(int pixel_format, efi_pixel_bitmask_t pixel_info) in pixel_bpp() argument 178 if (pixel_format == PIXEL_BIT_MASK) { in pixel_bpp() 205 pf = info->pixel_format; in choose_mode_res() 226 pf = info->pixel_format; in choose_mode_res() 268 pf = info->pixel_format; in choose_mode_auto() 286 pf = info->pixel_format; in choose_mode_auto() 340 pf = info->pixel_format; in choose_mode_list() 431 efi_pixel_bitmask_t pixel_info, int pixel_format) in setup_pixel_info() argument 433 if (pixel_format == PIXEL_BIT_MASK) { in setup_pixel_info() [all …]
|
| /OK3568_Linux_fs/u-boot/board/freescale/ls1021aiot/ |
| H A D | dcu.c | 32 unsigned int pixel_format; in platform_dcu_init() local 43 pixel_format = 32; in platform_dcu_init() 44 fsl_dcu_init(xres, yres, pixel_format); in platform_dcu_init()
|
| /OK3568_Linux_fs/u-boot/board/freescale/ls1021atwr/ |
| H A D | dcu.c | 32 unsigned int pixel_format; in platform_dcu_init() local 43 pixel_format = 32; in platform_dcu_init() 44 fsl_dcu_init(xres, yres, pixel_format); in platform_dcu_init()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn30/ |
| H A D | dcn30_dpp.c | 180 uint32_t pixel_format = 0; in dpp3_cnv_setup() local 208 pixel_format = 1; in dpp3_cnv_setup() 211 pixel_format = 3; in dpp3_cnv_setup() 216 pixel_format = 8; in dpp3_cnv_setup() 220 pixel_format = 10; in dpp3_cnv_setup() 225 pixel_format = 65; in dpp3_cnv_setup() 231 pixel_format = 64; in dpp3_cnv_setup() 237 pixel_format = 67; in dpp3_cnv_setup() 243 pixel_format = 66; in dpp3_cnv_setup() 248 pixel_format = 22; in dpp3_cnv_setup() [all …]
|
| /OK3568_Linux_fs/u-boot/board/freescale/t104xrdb/ |
| H A D | diu.c | 68 u32 pixel_format; in platform_diu_init() local 75 pixel_format = cpu_to_le32(AD_BYTE_F | (3 << AD_ALPHA_C_SHIFT) | in platform_diu_init() 83 return fsl_diu_init(xres, yres, pixel_format, 0); in platform_diu_init()
|
| /OK3568_Linux_fs/u-boot/board/freescale/ls1021aqds/ |
| H A D | dcu.c | 48 unsigned int pixel_format; in platform_dcu_init() local 88 pixel_format = 32; in platform_dcu_init() 89 fsl_dcu_init(xres, yres, pixel_format); in platform_dcu_init()
|
| /OK3568_Linux_fs/u-boot/board/gdsys/p1022/ |
| H A D | diu.c | 69 u32 pixel_format; in platform_diu_init() local 71 pixel_format = cpu_to_le32(AD_BYTE_F | (3 << AD_ALPHA_C_SHIFT) | in platform_diu_init() 83 return fsl_diu_init(xres, yres, pixel_format, 0); in platform_diu_init()
|
| /OK3568_Linux_fs/u-boot/board/freescale/mpc8610hpcd/ |
| H A D | mpc8610hpcd_diu.c | 45 u32 pixel_format = 0x88883316; in platform_diu_init() local 62 pixel_format = 0x88882317; in platform_diu_init() 70 return fsl_diu_init(xres, yres, pixel_format, gamma_fix); in platform_diu_init()
|
| /OK3568_Linux_fs/u-boot/board/freescale/t1040qds/ |
| H A D | diu.c | 73 u32 pixel_format; in platform_diu_init() local 87 pixel_format = cpu_to_le32(AD_BYTE_F | (3 << AD_ALPHA_C_SHIFT) | in platform_diu_init() 96 return fsl_diu_init(xres, yres, pixel_format, 0); in platform_diu_init()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_formats.c | 36 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 55 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 75 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 93 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 112 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 130 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 149 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 169 .base.pixel_format = DRM_FORMAT_ ## fmt, \ 579 if (fmt->base.pixel_format == DRM_FORMAT_NV12) { in _dpu_format_get_media_color_ubwc() 591 if (fmt->base.pixel_format == dpu_media_ubwc_map[i].format) { in _dpu_format_get_media_color_ubwc() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/ |
| H A D | mdp_format.c | 64 .base = { .pixel_format = DRM_FORMAT_ ## name }, \ 157 pixel_formats[i] = f->base.pixel_format; in mdp_get_formats() 169 if (f->base.pixel_format == format) in mdp_get_format()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/ |
| H A D | msm_fb.c | 144 (char *)&mode_cmd->pixel_format); in msm_framebuffer_init() 147 format = kms->funcs->get_format(kms, mode_cmd->pixel_format, in msm_framebuffer_init() 151 (char *)&mode_cmd->pixel_format); in msm_framebuffer_init() 210 .pixel_format = format, in msm_alloc_stolen_fb()
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | fsl_dcu_fb.c | 244 static int layer_ctrldesc_init(int index, u32 pixel_format) in layer_ctrldesc_init() argument 259 switch (pixel_format) { in layer_ctrldesc_init() 270 printf("unsupported color depth: %u\n", pixel_format); in layer_ctrldesc_init() 299 unsigned int pixel_format) in fsl_dcu_init() argument 356 layer_ctrldesc_init(0, pixel_format); in fsl_dcu_init()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_direct_show.c | 52 const struct drm_format_info *format_info = drm_format_info(buffer->pixel_format); in rockchip_drm_direct_show_alloc_fb() 58 mode_cmd.pixel_format = buffer->pixel_format; in rockchip_drm_direct_show_alloc_fb() 90 format_info = drm_format_info(buffer->pixel_format); in rockchip_drm_direct_show_alloc_buffer()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gvt/ |
| H A D | fb_decoder.c | 42 struct pixel_format { struct 48 static struct pixel_format bdw_pixel_formats[] = { argument 61 static struct pixel_format skl_pixel_formats[] = { 394 static struct pixel_format sprite_pixel_formats[SPRITE_FORMAT_NUM] = {
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/shmobile/ |
| H A D | shmob_drm_kms.c | 97 format = shmob_drm_format_info(mode_cmd->pixel_format); in shmob_drm_fb_create() 100 mode_cmd->pixel_format); in shmob_drm_fb_create()
|
| /OK3568_Linux_fs/u-boot/board/freescale/p1022ds/ |
| H A D | diu.c | 88 u32 pixel_format; in platform_diu_init() local 148 pixel_format = cpu_to_le32(AD_BYTE_F | (3 << AD_ALPHA_C_SHIFT) | in platform_diu_init() 195 return fsl_diu_init(xres, yres, pixel_format, 0); in platform_diu_init()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/armada/ |
| H A D | armada_fb.c | 28 switch (mode->pixel_format) { in armada_framebuffer_create() 96 mode->width, mode->height, mode->pixel_format, in armada_fb_create()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/arm/ |
| H A D | hdlcd_crtc.c | 87 uint32_t pixel_format; in hdlcd_set_pxl_fmt() local 91 pixel_format = fb->format->format; in hdlcd_set_pxl_fmt() 94 if (supported_formats[i].fourcc == pixel_format) in hdlcd_set_pxl_fmt()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bochs/ |
| H A D | bochs_kms.c | 125 if (mode_cmd->pixel_format != DRM_FORMAT_XRGB8888 && in bochs_gem_fb_create() 126 mode_cmd->pixel_format != DRM_FORMAT_BGRX8888) in bochs_gem_fb_create()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_framebuffer.c | 126 r.pixel_format = drm_driver_legacy_fb_format(dev, or->bpp, or->depth); in drm_mode_addfb() 127 if (r.pixel_format == DRM_FORMAT_INVALID) { in drm_mode_addfb() 179 if (!__drm_format_info(r->pixel_format)) { in framebuffer_check() 183 drm_get_format_name(r->pixel_format, in framebuffer_check() 247 if (r->pixel_format != DRM_FORMAT_NV12 || in framebuffer_check() 594 r->pixel_format = fb->format->format; in drm_mode_getfb2_ioctl()
|