drm/mcde: Do not use dirty GEM FB handling
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 13 Mar 2023 15:51:36 +0000 (16:51 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 14 Mar 2023 16:07:49 +0000 (17:07 +0100)
commit3a4258c6033ad7bcbec76dfa4d5af569a2a045a1
tree2f7518f54ff7afc2f7a0947591f2c94733d2fcf2
parentf6a51db518fdae2d9a43fdce48c46ee36b696b0a
drm/mcde: Do not use dirty GEM FB handling

This driver has no way to handle damage, the reason the
drm_gem_fb_create_with_dirty() was used was because I had the
ambition that the driver would only send out updates to DSI
command displays whenever something changed, so as to
minimize traffic.

It turns out this ambition with command mode isn't working
in practice because all the MCDE does is to create a
continuous stream of DSI commands and while it is possible to
send single frame updates with it, it's not been worthwhile.
So we are just setting up continuous updates.

Reported-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/dri-devel/0e789778-03ca-e3cb-9c94-e8b55573894c@suse.de/
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230313155138.20584-24-tzimmermann@suse.de
drivers/gpu/drm/mcde/mcde_drv.c