Merge "disp: msm: add support for no blend planes"
Этот коммит содержится в:

коммит произвёл
Gerrit - the friendly Code Review server

Коммит
76d89c1e24
@@ -3408,7 +3408,8 @@ static void _sde_plane_install_properties(struct drm_plane *plane,
|
||||
{SDE_DRM_BLEND_OP_NOT_DEFINED, "not_defined"},
|
||||
{SDE_DRM_BLEND_OP_OPAQUE, "opaque"},
|
||||
{SDE_DRM_BLEND_OP_PREMULTIPLIED, "premultiplied"},
|
||||
{SDE_DRM_BLEND_OP_COVERAGE, "coverage"}
|
||||
{SDE_DRM_BLEND_OP_COVERAGE, "coverage"},
|
||||
{SDE_DRM_BLEND_OP_SKIP, "skip_blending"},
|
||||
};
|
||||
static const struct drm_prop_enum_list e_src_config[] = {
|
||||
{SDE_DRM_DEINTERLACE, "deinterlace"}
|
||||
@@ -3431,6 +3432,7 @@ static void _sde_plane_install_properties(struct drm_plane *plane,
|
||||
int zpos_max = 255;
|
||||
int zpos_def = 0;
|
||||
char feature_name[256];
|
||||
uint32_t index;
|
||||
|
||||
if (!plane || !psde) {
|
||||
SDE_ERROR("invalid plane\n");
|
||||
@@ -3549,6 +3551,13 @@ static void _sde_plane_install_properties(struct drm_plane *plane,
|
||||
psde->pipe_sblk->max_per_pipe_bw * 1000LL);
|
||||
sde_kms_info_add_keyint(info, "max_per_pipe_bw_high",
|
||||
psde->pipe_sblk->max_per_pipe_bw_high * 1000LL);
|
||||
index = (master_plane_id == 0) ? 0 : 1;
|
||||
if (catalog->has_demura &&
|
||||
catalog->demura_supported[psde->pipe][index] != ~0x0) {
|
||||
sde_kms_info_add_keyint(info, "demura_block", index);
|
||||
sde_kms_info_add_keyint(info, "demura_pipe_id",
|
||||
psde->pipe - SSPP_DMA0);
|
||||
}
|
||||
|
||||
if ((is_master &&
|
||||
(psde->features & BIT(SDE_SSPP_INVERSE_PMA))) ||
|
||||
|
Ссылка в новой задаче
Block a user