Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1403c160 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "SDE: Fix the minimum value in display property"

parents 24c1430d 59dd8c22
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1804,8 +1804,8 @@ static void _sde_plane_install_properties(struct drm_plane *plane,
	char feature_name[256];
	struct sde_phy_plane *pp;
	uint32_t features = 0xFFFFFFFF, nformats = 64;
	u32 maxlinewidth = -1, maxupscale = -1, maxdwnscale = -1;
	u32 maxhdeciexp = -1, maxvdeciexp = -1;
	u32 maxlinewidth = 0, maxupscale = 0, maxdwnscale = 0;
	u32 maxhdeciexp = 0, maxvdeciexp = 0;

	if (!plane || !psde) {
		SDE_ERROR("invalid plane\n");