disp: msm: sde: reset dim layer dirty prop during idle pc

During idle power collapse, dim layer dirty flags are
stored in sde_crtc_state which might be invalid if state
swap occurs. This change adds revalidate mask in sde_crtc
structure to revalidate after coming out of idle power
collapse.

Change-Id: Ie2f34a794896a3f8e729ef7d1f3ae35340123257
Signed-off-by: Yashwanth <yvulapu@codeaurora.org>
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
このコミットが含まれているのは:
Yashwanth
2021-06-14 19:54:38 +05:30
committed by Samantha Tran
コミット ddd671b0d7
2個のファイルの変更9行の追加1行の削除

ファイルの表示

@@ -282,6 +282,7 @@ struct sde_frame_data {
* @cp_feature_list : list of color processing features supported on a crtc
* @cp_active_list : list of color processing features are active
* @cp_dirty_list : list of color processing features are dirty
* @revalidate_mask : stores dirty flags to revalidate after idlepc
* @ad_dirty : list containing ad properties that are dirty
* @ad_active : list containing ad properties that are active
* @crtc_lock : crtc lock around create, destroy and access.
@@ -382,6 +383,7 @@ struct sde_crtc {
spinlock_t spin_lock;
spinlock_t fevent_spin_lock;
bool kickoff_in_progress;
unsigned long revalidate_mask;
/* for handling internal event thread */
struct sde_crtc_event event_cache[SDE_CRTC_MAX_EVENT_COUNT];