/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_fourcc.c | 179 { .format = DRM_FORMAT_ARGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 180 { .format = DRM_FORMAT_ABGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 181 { .format = DRM_FORMAT_RGBA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 182 { .format = DRM_FORMAT_BGRA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 187 { .format = DRM_FORMAT_ARGB1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 188 { .format = DRM_FORMAT_ABGR1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 189 { .format = DRM_FORMAT_RGBA5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 190 { .format = DRM_FORMAT_BGRA5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 203 { .format = DRM_FORMAT_RGB565_A8, .depth = 24, .num_planes = 2, .cpp = { 2, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 204 { .format = DRM_FORMAT_BGR565_A8, .depth = 24, .num_planes = 2, .cpp = { 2, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha in __drm_format_info() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_fourcc.c | 167 { .format = DRM_FORMAT_ARGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 168 { .format = DRM_FORMAT_ABGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 169 { .format = DRM_FORMAT_RGBA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 170 { .format = DRM_FORMAT_BGRA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 175 { .format = DRM_FORMAT_ARGB1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 176 { .format = DRM_FORMAT_ABGR1555, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 177 { .format = DRM_FORMAT_RGBA5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 178 { .format = DRM_FORMAT_BGRA5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 191 { .format = DRM_FORMAT_RGB565_A8, .depth = 24, .num_planes = 2, .cpp = { 2, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, in __drm_format_info() 192 { .format = DRM_FORMAT_BGR565_A8, .depth = 24, .num_planes = 2, .cpp = { 2, 1, 0 }, .hsub = 1, .vsub = 1, .has_alpha in __drm_format_info() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/kmb/ |
H A D | kmb_plane.c | 310 int has_alpha = state->fb->format->has_alpha; in kmb_plane_set_alpha() local 315 if (has_alpha) { in kmb_plane_set_alpha() 333 if (plane_alpha == DRM_BLEND_ALPHA_OPAQUE && !has_alpha) { in kmb_plane_set_alpha()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_display.c | 588 .has_alpha = true, }, 591 .has_alpha = true, }, 594 .has_alpha = true, }, 601 .has_alpha = true, }, 604 .has_alpha = true, }, 616 .has_alpha = true, }, 619 .has_alpha = true, }, 622 .has_alpha = true, }, 629 .has_alpha = true, }, 632 .has_alpha [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_plane.c | 826 fb->format->has_alpha; in vc4_plane_mode_set() 861 VC4_SET_FIELD(fb->format->has_alpha ? in vc4_plane_mode_set() 866 (fb->format->has_alpha ? in vc4_plane_mode_set() 912 (fb->format->has_alpha ? in vc4_plane_mode_set() 916 VC4_SET_FIELD(fb->format->has_alpha ? in vc4_plane_mode_set() 1033 vc4_state->needs_bg_fill = fb->format->has_alpha || !covers_screen || in vc4_plane_mode_set()
|
H A D | vc4_txp.c | 302 if (fb->format->has_alpha) in vc4_txp_connector_atomic_commit()
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_fourcc.h | 131 /** @has_alpha: Does the format embeds an alpha component? */ 132 bool has_alpha; member
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_fourcc.h | 136 /** @has_alpha: Does the format embeds an alpha component? */ 137 bool has_alpha; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_fb.c | 38 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, }, 40 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, }, 59 .hsub = 1, .vsub = 1, .has_alpha = true }, 62 .hsub = 1, .vsub = 1, .has_alpha = true }, 105 .hsub = 1, .vsub = 1, .has_alpha = true }, 108 .hsub = 1, .vsub = 1, .has_alpha = true }, 120 .hsub = 1, .vsub = 1, .has_alpha = true }, 123 .hsub = 1, .vsub = 1, .has_alpha = true },
|
/kernel/linux/linux-5.10/drivers/gpu/drm/hisilicon/kirin/ |
H A D | kirin_drm_ade.c | 644 bool has_alpha = has_Alpha_channel(fmt); in ade_get_blending_params() local 649 if (has_alpha && glb_alpha < 255) in ade_get_blending_params() 651 else if (has_alpha) in ade_get_blending_params()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_plane.c | 380 if (format->has_alpha) in atmel_hlcdc_plane_update_general_settings() 553 ovl_s->fb->format->has_alpha || in atmel_hlcdc_plane_prepare_disc_area() 706 state->base.fb->format->has_alpha)) in atmel_hlcdc_plane_atomic_check()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/hisilicon/kirin/ |
H A D | kirin_drm_ade.c | 643 bool has_alpha = has_Alpha_channel(fmt); in ade_get_blending_params() local 648 if (has_alpha && glb_alpha < 255) in ade_get_blending_params() 650 else if (has_alpha) in ade_get_blending_params()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_plane.c | 382 if (format->has_alpha) in atmel_hlcdc_plane_update_general_settings() 555 ovl_s->fb->format->has_alpha || in atmel_hlcdc_plane_prepare_disc_area() 709 hstate->base.fb->format->has_alpha)) in atmel_hlcdc_plane_atomic_check()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/ |
H A D | mtk_mdp_rdma.c | 195 if (!csc_enable && fmt_info->has_alpha) in mtk_mdp_rdma_config()
|
H A D | mtk_ethdr.c | 168 if (state->base.fb && state->base.fb->format->has_alpha) in mtk_ethdr_layer_config()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/ |
H A D | malidp_planes.c | 607 fb->format->has_alpha) in malidp_de_plane_check() 879 } else if (state->fb->format->has_alpha) { in malidp_de_plane_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/ |
H A D | ipuv3-plane.c | 569 !fb->format->has_alpha, 0xff, in ipu_plane_atomic_update() 578 !fb->format->has_alpha, 0xff, in ipu_plane_atomic_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
H A D | sun4i_backend.c | 533 if (fb->format->has_alpha || (plane_state->alpha != DRM_BLEND_ALPHA_OPAQUE)) in sun4i_backend_atomic_check() 605 if (fb->format->has_alpha || (p_state->alpha != DRM_BLEND_ALPHA_OPAQUE)) in sun4i_backend_atomic_check()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/ |
H A D | malidp_planes.c | 597 fb->format->has_alpha) in malidp_de_plane_check() 872 } else if (new_state->fb->format->has_alpha) { in malidp_de_plane_update()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/imx/ipuv3/ |
H A D | ipuv3-plane.c | 602 !fb->format->has_alpha, 0xff, in ipu_plane_atomic_update() 611 !fb->format->has_alpha, 0xff, in ipu_plane_atomic_update()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
H A D | sun4i_backend.c | 512 if (fb->format->has_alpha || (plane_state->alpha != DRM_BLEND_ALPHA_OPAQUE)) in sun4i_backend_atomic_check() 584 if (fb->format->has_alpha || (p_state->alpha != DRM_BLEND_ALPHA_OPAQUE)) in sun4i_backend_atomic_check()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A D | vc4_plane.c | 771 if (!state->fb->format->has_alpha) in vc4_hvs4_get_alpha_blend_mode() 792 if (!state->fb->format->has_alpha) in vc4_hvs5_get_alpha_blend_mode() 1058 fb->format->has_alpha; in vc4_plane_mode_set() 1262 vc4_state->needs_bg_fill = fb->format->has_alpha || !covers_screen || in vc4_plane_mode_set()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
H A D | mtk_disp_ovl.c | 269 if (state->base.fb && state->base.fb->format->has_alpha) in mtk_ovl_layer_config()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-dtg.c | 299 if (!format->has_alpha || alpha != 255) in dcss_dtg_plane_alpha_set()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-dtg.c | 299 if (!format->has_alpha || alpha != 255) in dcss_dtg_plane_alpha_set()
|