disp: msm: sde: fix autorefresh enable/disable sequence
SDE RSCC solver state and autorefresh enable concurrency is not supported. This change moves the rscc solver state to disable to avoid concurrency. It also resets the autorefresh software structure state when encoder is disabled. This allows autorefresh reconfiguration with next encoder enable. Change-Id: Idb8c722c823d9f46d3cd03e1b046da69c8d88fc4 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
8a3abf2cdf
commit
a698dbe5aa
@@ -194,6 +194,8 @@ struct sde_encoder_ops {
|
||||
* of esd attack to ensure esd workqueue detects
|
||||
* the previous frame transfer completion before
|
||||
* next update is triggered.
|
||||
* @autorefresh_solver_disable It tracks if solver state is disabled from this
|
||||
* encoder due to autorefresh concurrency.
|
||||
*/
|
||||
struct sde_encoder_virt {
|
||||
struct drm_encoder base;
|
||||
@@ -262,6 +264,7 @@ struct sde_encoder_virt {
|
||||
struct cpumask valid_cpu_mask;
|
||||
struct msm_mode_info mode_info;
|
||||
bool delay_kickoff;
|
||||
bool autorefresh_solver_disable;
|
||||
};
|
||||
|
||||
#define to_sde_encoder_virt(x) container_of(x, struct sde_encoder_virt, base)
|
||||
|
Reference in New Issue
Block a user