diff options
| author | Dave Airlie <[email protected]> | 2021-06-11 00:59:49 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2021-06-11 00:59:55 +0000 |
| commit | 750643a99e6774e65028201a54cf621d5e43dc9c (patch) | |
| tree | 4a63d8fe05168f819346ed76a02836a2b3a8cfa3 /drivers/gpu/drm/mcde/mcde_dsi.c | |
| parent | Merge tag 'drm-msm-fixes-2021-06-10' of https://gitlab.freedesktop.org/drm/ms... (diff) | |
| parent | drm: Lock pointer access in drm_master_release() (diff) | |
| download | kernel-750643a99e6774e65028201a54cf621d5e43dc9c.tar.gz kernel-750643a99e6774e65028201a54cf621d5e43dc9c.zip | |
Merge tag 'drm-misc-fixes-2021-06-10' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
One fix for snu4i that prevents it from probing, two locking fixes for
ttm and drm_auth, one off-by-x1000 fix for mcde and a fix for vc4 to
prevent an out-of-bounds access.
Signed-off-by: Dave Airlie <[email protected]>
From: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20210610171653.lqsoadxrhdk73cdy@gilmour
Diffstat (limited to 'drivers/gpu/drm/mcde/mcde_dsi.c')
| -rw-r--r-- | drivers/gpu/drm/mcde/mcde_dsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mcde/mcde_dsi.c b/drivers/gpu/drm/mcde/mcde_dsi.c index b3fd3501c412..5275b2723293 100644 --- a/drivers/gpu/drm/mcde/mcde_dsi.c +++ b/drivers/gpu/drm/mcde/mcde_dsi.c @@ -577,7 +577,7 @@ static void mcde_dsi_setup_video_mode(struct mcde_dsi *d, * porches and sync. */ /* (ps/s) / (pixels/s) = ps/pixels */ - pclk = DIV_ROUND_UP_ULL(1000000000000, mode->clock); + pclk = DIV_ROUND_UP_ULL(1000000000000, (mode->clock * 1000)); dev_dbg(d->dev, "picoseconds between two pixels: %llu\n", pclk); |
