diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-11-03 16:14:41 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-11-05 17:05:54 +0100 |
commit | 93e81e38e19760653e5241a8bbcaecd85207fde4 (patch) | |
tree | c83d02590159a31c945f3db025b6e4c1c72317d2 /drivers/gpu/drm/solomon | |
parent | 983780918c759fdbbf0bf033e701bbff75d2af23 (diff) |
drm/fb_helper: Minimize damage-helper overhead
Pull the test for fb_dirty into the caller to avoid extra work
if no callback has been set. In this case no damage handling is
required and no damage area needs to be computed. Print a warning
if the damage worker runs without getting an fb_dirty callback.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221103151446.2638-19-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/solomon')
0 files changed, 0 insertions, 0 deletions