diff options
author | Liviu Dudau <Liviu.Dudau@arm.com> | 2018-06-15 16:56:09 +0100 |
---|---|---|
committer | Liviu Dudau <Liviu.Dudau@arm.com> | 2018-07-05 15:19:04 +0100 |
commit | 0735cfdf0af4d4ffc3743fb75b9ad929dfd37206 (patch) | |
tree | d2c2514b0095a5c02e762a9f4587579c2387e529 /drivers/gpu/drm/arm/malidp_drv.h | |
parent | 8cbc5caf36ef7a299b5cbedf55f27fd898d700bf (diff) |
drm/mali-dp: Improve writeback handling for DP500.
Mali DP500 operates in continuous writeback mode (writes frame content
until stopped) and it needs special handling in order to behave like
a one-shot writeback engine. The original state machine added for DP500
was a bit fragile, as it did not handle correctly cases where a new
atomic commit was in progress when the SE IRQ happens and it would
commit some partial updates.
Improve the handling by adding a parameter to the set_config_valid()
function to clear the config valid bit in hardware before starting a
new commit and by introducing a MW_RESTART state in the writeback
state machine to cater for the case where a new writeback commit
gets submitted while the last one is still being active.
Reported-by: Brian Starkey <brian.starkey@arm.com>
Reviewed-by: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm/malidp_drv.h')
0 files changed, 0 insertions, 0 deletions