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)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitf5f35281c13f4b1aeb7b89d6874bf28440f8a848
tree0e1e41f609f539e927f2d4e29e22ec4c46011053
parent3a5de9e559466053cb11964adf5057d3c6bd0113
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