MLK-16954: drm: imx: dcss: adjust context loader trigger values
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Fri, 24 Nov 2017 13:03:28 +0000 (15:03 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:55:41 +0000 (15:55 -0500)
commit3ac117900f8c249500c5528a1a24338a573a47b8
treebe6587e163f888b287d13ef8f16d6b82cc277292
parentdb9d1ab2dcb207473473b13ea8232d6eb8541d4d
MLK-16954: drm: imx: dcss: adjust context loader trigger values

Apparently, when DCSS has to fight for data on the bus with other
processes, exists the risk for the scaler to freeze. Previous setting
used the documentation recommendation for setting the DB context loader
trigger time. Unfortunately, with that value, under high stress, the RGB
planes will go black and scaler will freeze.

This patch sets the SB/DB context loader triggers to a values
obtained through repeated tests that proved to provide the best user
experience (i.e. planes will not go black).

However, the underlining issue remains and HW needes to prioritize the
DCSS read operations.

With this workaround, under high stress, the RGB planes may experience
some flickering but they will not freeze.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
drivers/gpu/imx/dcss/dcss-dtg.c