diff options
| author | Thomas Zimmermann <[email protected]> | 2019-12-10 08:49:03 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2019-12-11 16:02:16 +0000 |
| commit | eb3deeceaa5d066a5819fb45876de4d262a8f210 (patch) | |
| tree | 66a3018e0a48360bf79d30a437b28cfa25398b30 /drivers/gpu/drm/udl/udl_main.c | |
| parent | drm/udl: Convert to drm_atomic_helper_dirtyfb() (diff) | |
| download | kernel-eb3deeceaa5d066a5819fb45876de4d262a8f210.tar.gz kernel-eb3deeceaa5d066a5819fb45876de4d262a8f210.zip | |
drm/udl: Remove struct udl_device.active_fb_16
The udl driver stores the currently active framebuffer to know from
where to accept damage updates.
With the conversion to plane-state damage handling, this is not necessary
any longer. The currently active framebuffer and damaged area are always
stored in the plane state.
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/udl/udl_main.c')
| -rw-r--r-- | drivers/gpu/drm/udl/udl_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/udl/udl_main.c b/drivers/gpu/drm/udl/udl_main.c index ff3e98666e8c..538718919916 100644 --- a/drivers/gpu/drm/udl/udl_main.c +++ b/drivers/gpu/drm/udl/udl_main.c @@ -314,9 +314,6 @@ int udl_init(struct udl_device *udl) DRM_DEBUG("\n"); - udl->active_fb_16 = NULL; - spin_lock_init(&udl->active_fb_16_lock); - mutex_init(&udl->gem_lock); if (!udl_parse_vendor_descriptor(dev, udl->udev)) { |
