diff options
author | Dave Airlie <airlied@redhat.com> | 2022-12-09 11:53:23 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2022-12-09 11:53:52 +1000 |
commit | f06a4da3adf252a6ecd37c4ea1c3540db0b27738 (patch) | |
tree | c40ee90344025fd1bb57877035aa91516dc5ca97 /include/drm | |
parent | b2268e26869a56e40964f0d912b58ffd076fd453 (diff) | |
parent | b02897e56b4e1fa6445be695ce5d605bb098435c (diff) | |
download | lwn-f06a4da3adf252a6ecd37c4ea1c3540db0b27738.tar.gz lwn-f06a4da3adf252a6ecd37c4ea1c3540db0b27738.zip |
Merge tag 'drm-misc-next-fixes-2022-12-08' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
Some deferred-io and damage worker reworks revert and make a fb function
static
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20221208084040.yw4zavsjd25qsltf@houat
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_fb_helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h index 455f6c2b8117..b111dc7ada78 100644 --- a/include/drm/drm_fb_helper.h +++ b/include/drm/drm_fb_helper.h @@ -116,6 +116,7 @@ struct drm_fb_helper_funcs { * @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 @@ -145,6 +146,7 @@ struct drm_fb_helper { u32 pseudo_palette[17]; struct drm_clip_rect damage_clip; spinlock_t damage_lock; + struct work_struct damage_work; struct work_struct resume_work; /** |