summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <luchris@google.com>2023-07-27 09:49:12 +0000
committerChris Lu <luchris@google.com>2023-08-01 00:54:47 +0000
commit9b31aa61279dfe820c5384dae34dffaf827e16f0 (patch)
tree70179e447e665a15467869150d21d4cf393f7fde
parent222acda66848167e9ff62df762aeda137fabf108 (diff)
downloadshusky-9b31aa61279dfe820c5384dae34dffaf827e16f0.tar.gz
display: hk3: remove the vblank delay while setting higher op_hzandroid-14.0.0_r0.8android-gs-shusky-5.15-android14-d1
Waiting for a vblank cannot make sure we don't have frame transfer after switching to higher op_hz. Raise BTS instead. Bug: 284094183 Test: switch to higher op_hz and capture trace Change-Id: Ibdd71fd118e57ab9c361857f292c6b3ae7bffe1d Signed-off-by: Chris Lu <luchris@google.com>
-rw-r--r--display/panel-google-hk3.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/display/panel-google-hk3.c b/display/panel-google-hk3.c
index 29bbb27..337551c 100644
--- a/display/panel-google-hk3.c
+++ b/display/panel-google-hk3.c
@@ -1987,18 +1987,6 @@ static int hk3_set_op_hz(struct exynos_panel *ctx, unsigned int hz)
dev_info(ctx->dev, "%s op_hz at %d\n",
is_panel_active(ctx) ? "set" : "cache", hz);
- if (hz == 120) {
- /*
- * We may transfer the frame for the first TE after switching from
- * NS to HS mode. The DDIC read speed will change from 60Hz to 120Hz,
- * but the DPU write speed will remain the same. In this case,
- * underruns would happen. Waiting for an extra vblank here so that
- * the frame can be postponed to the next TE to avoid the noises.
- */
- dev_dbg(ctx->dev, "wait one vblank after NS to HS\n");
- hk3_wait_one_vblank(ctx);
- }
-
DPU_ATRACE_END(__func__);
return 0;