MLK-21944: HDP: Fix DP 720x480@60 failed work
authorSandor Yu <Sandor.yu@nxp.com>
Tue, 8 Oct 2019 08:30:57 +0000 (16:30 +0800)
committerSandor Yu <Sandor.yu@nxp.com>
Tue, 8 Oct 2019 09:02:12 +0000 (17:02 +0800)
commita22636143b536a132c00edd3e671d27b75b33052
tree692f8984bb37c004d2c7a872c8f3e4f7e4059c96
parent22ec415cb8294a951cb1abfa6e714b2d88b8849e
MLK-21944: HDP: Fix DP 720x480@60 failed work

hsync in struct of drm_display_mode is modes's hsync rate in kHz.

But DP register should been set the value of Horizontal Sync Width
that is not define in DRM_MODE().
It could get by (mode->hsync_end - mode->hsync_start).

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
drivers/mxc/hdp/API_DPTX.c