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

Commit 1eb531c4 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/bridge: Update KPI Marker"

parents e9716bc9 0cdac4b0
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -139,6 +139,9 @@ struct anx7625 {

	bool powered;
	bool enabled;
#ifdef CONFIG_PM_SLEEP
	bool out_of_hibr;
#endif
	int connected;
	bool hpd_status;
	bool skip_enable;
@@ -1280,7 +1283,12 @@ static void anx7625_bridge_enable(struct drm_bridge *bridge)
	mutex_lock(&anx7625->lock);

	anx7625->enabled = true;

#ifdef CONFIG_PM_SLEEP
	if (anx7625->out_of_hibr) {
		anx7625->out_of_hibr = false;
		place_marker("Hiber: Display up");
	}
#endif
	if (!anx7625->powered)
		goto out;

@@ -1555,8 +1563,8 @@ static int anx7625_restore(struct device *dev)
		usleep_range(10000, 11000);

		anx7625_start(anx7625);
		place_marker("Hiber: Display up");
	}
	anx7625->out_of_hibr = true;

	mutex_unlock(&anx7625->lock);