drm/omap: Add pclk setting case when channel is DSS_WB
authorBenoit Parrot <bparrot@ti.com>
Mon, 16 May 2016 21:42:50 +0000 (16:42 -0500)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 1 Mar 2018 07:18:18 +0000 (09:18 +0200)
commit9deb5ad3c47ead2b3c63e44435e9eff0f6f38835
tree54b38d34ef5118bd48462cb091351a25ee26b783
parentb5d025eff5206300be0f59bfe10c5b9e1c895af4
drm/omap: Add pclk setting case when channel is DSS_WB

In dispc_set_ovl_common() we need to initialize pclk to a valid
value when we use WB in capture mode (i.e. mem_2_mem is false).
Otherwise dispc_ovl_calc_scaling() fails.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/dispc.c