[HACK] drm/msm: Always report CTL status as started for MSM8998
This register always appears to read 0 on <SDM845 generations so simply ignore it to avoid refreshing at ~3 Hz as seen on OnePlus 5 with a command-mode panel with the following spammed in dmesg every time the screen refreshes: [drm:_dpu_encoder_phys_cmd_wait_for_ctl_start:660] [dpu error]enc31 intf1 ctl start interrupt wait failed [drm:dpu_kms_wait_for_commit_done:525] [dpu error]wait for commit done returned -22 ...
This commit is contained in:
parent
5cdf191d57
commit
37d1583665
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ static inline void dpu_hw_ctl_trigger_start(struct dpu_hw_ctl *ctx)
|
|||
|
||||
static inline bool dpu_hw_ctl_is_started(struct dpu_hw_ctl *ctx)
|
||||
{
|
||||
return !!(DPU_REG_READ(&ctx->hw, CTL_START) & BIT(0));
|
||||
return true;
|
||||
}
|
||||
|
||||
static inline void dpu_hw_ctl_trigger_pending(struct dpu_hw_ctl *ctx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue