Browse Source

disp: msm: skip rsc client vote for clk state update only

This change skips RSC client vote for clk_state update when
delta vote and update_tcs_content are false.

Change-Id: I4597167c261f06811ffbd84b2eba4e6aa78d1eea
Signed-off-by: Narendra Muppalla <[email protected]>
Narendra Muppalla 4 năm trước cách đây
mục cha
commit
e13e1ea727
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      msm/sde_rsc.c

+ 1 - 2
msm/sde_rsc.c

@@ -1082,8 +1082,7 @@ int sde_rsc_client_trigger_vote(struct sde_rsc_client *caller_client,
 	mutex_lock(&rsc->client_lock);
 
 	if (!delta_vote && !rsc->update_tcs_content &&
-			((rsc->current_state == SDE_RSC_CMD_STATE) ||
-			(rsc->current_state == SDE_RSC_VID_STATE)))
+			(rsc->current_state == SDE_RSC_CLK_STATE))
 		goto end;
 
 	for (i = 0; i < SDE_POWER_HANDLE_DBUS_ID_MAX && delta_vote; i++) {