mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-18 21:25:11 +00:00
drm/msm: dpu: Use 'vsync' instead of 'vsync_clk' in cmdmode encoder
Should work with the legacy handling in of, but we shouldn't rely on that. Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
cdb95931de
commit
2c1f748d00
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ static void dpu_encoder_phys_cmd_tearcheck_config(
|
||||||
* vsync_count is ratio of MDP VSYNC clock frequency to LCD panel
|
* vsync_count is ratio of MDP VSYNC clock frequency to LCD panel
|
||||||
* frequency divided by the no. of rows (lines) in the LCDpanel.
|
* frequency divided by the no. of rows (lines) in the LCDpanel.
|
||||||
*/
|
*/
|
||||||
vsync_hz = dpu_kms_get_clk_rate(dpu_kms, "vsync_clk");
|
vsync_hz = dpu_kms_get_clk_rate(dpu_kms, "vsync");
|
||||||
if (vsync_hz <= 0) {
|
if (vsync_hz <= 0) {
|
||||||
DPU_DEBUG_CMDENC(cmd_enc, "invalid - vsync_hz %u\n",
|
DPU_DEBUG_CMDENC(cmd_enc, "invalid - vsync_hz %u\n",
|
||||||
vsync_hz);
|
vsync_hz);
|
||||||
|
|
Loading…
Add table
Reference in a new issue