mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 18:17:50 -04:00
drm/fb-helper: Rename dirty worker to damage worker
The dirty worker handles all damage updates, instead of just calling the framebuffer's dirty callback. Rename it to damage worker. Also rename related variables accordingly. No functional changes are made. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Maxime Ripard <mripard@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20201120102545.4047-5-tzimmermann@suse.de
This commit is contained in:
@@ -100,10 +100,10 @@ struct drm_fb_helper_funcs {
|
||||
* @funcs: driver callbacks for fb helper
|
||||
* @fbdev: emulated fbdev device info struct
|
||||
* @pseudo_palette: fake palette of 16 colors
|
||||
* @dirty_clip: clip rectangle used with deferred_io to accumulate damage to
|
||||
* the screen buffer
|
||||
* @dirty_lock: spinlock protecting @dirty_clip
|
||||
* @dirty_work: worker used to flush the framebuffer
|
||||
* @damage_clip: clip rectangle used with deferred_io to accumulate damage to
|
||||
* the screen buffer
|
||||
* @damage_lock: spinlock protecting @damage_clip
|
||||
* @damage_work: worker used to flush the framebuffer
|
||||
* @resume_work: worker used during resume if the console lock is already taken
|
||||
*
|
||||
* This is the main structure used by the fbdev helpers. Drivers supporting
|
||||
@@ -131,9 +131,9 @@ struct drm_fb_helper {
|
||||
const struct drm_fb_helper_funcs *funcs;
|
||||
struct fb_info *fbdev;
|
||||
u32 pseudo_palette[17];
|
||||
struct drm_clip_rect dirty_clip;
|
||||
spinlock_t dirty_lock;
|
||||
struct work_struct dirty_work;
|
||||
struct drm_clip_rect damage_clip;
|
||||
spinlock_t damage_lock;
|
||||
struct work_struct damage_work;
|
||||
struct work_struct resume_work;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user