diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2020-11-20 11:25:43 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-11-24 09:31:21 +0100 |
commit | 4270d6f60d68e99e2fefd4da98eead05d2df022c (patch) | |
tree | 1969fbf9e7e889ff5bbe24246f49648eb70dc7c6 /drivers/gpu/drm/drm_atomic_uapi.c | |
parent | 1d46491d4a08d7ee657e09808f87d169444a2652 (diff) |
drm/fb-helper: Restore damage area upon errors
If the damage handling fails, restore the damage area. The next invocation
of the damage worker will then perform the update.
v3:
* Use drm_WARN_ONCE() with an error message to print warning
v2:
* print a single warning if dirty callback fails (Daniel, Sebastian)
* update comment
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Maxime Ripard <mripard@kernel.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201120102545.4047-9-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/drm_atomic_uapi.c')
0 files changed, 0 insertions, 0 deletions