projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0055e45
)
drm/simpledrm: Remove !fb check from atomic_update
author
Thomas Zimmermann
<tzimmermann@suse.de>
Thu, 22 Sep 2022 13:09:42 +0000
(15:09 +0200)
committer
Thomas Zimmermann
<tzimmermann@suse.de>
Tue, 27 Sep 2022 08:26:37 +0000
(10:26 +0200)
The primary plane implements atomic_disable, so atomic_update will
not be called without a framebuffer set. Remove the test for !fb.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20220922130944.27138-4-tzimmermann@suse.de
drivers/gpu/drm/tiny/simpledrm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tiny/simpledrm.c
b/drivers/gpu/drm/tiny/simpledrm.c
index
14782a5
..
8fab22a
100644
(file)
--- a/
drivers/gpu/drm/tiny/simpledrm.c
+++ b/
drivers/gpu/drm/tiny/simpledrm.c
@@
-482,9
+482,6
@@
static void simpledrm_primary_plane_helper_atomic_update(struct drm_plane *plane
struct drm_rect src_clip, dst_clip;
int idx;
- if (!fb)
- return;
-
if (!drm_atomic_helper_damage_merged(old_plane_state, plane_state, &src_clip))
return;