Loading drivers/gpu/drm/bridge/analogix-anx7625.c +10 −2 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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; Loading Loading @@ -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); Loading Loading
drivers/gpu/drm/bridge/analogix-anx7625.c +10 −2 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -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; Loading Loading @@ -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); Loading