projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3f63e6
)
drm: arcpgu: Remove CRTC .prepare() helper operation
author
Laurent Pinchart
<
[email protected]
>
Tue, 27 Jun 2017 21:16:15 +0000
(
00:16
+0300)
committer
Daniel Vetter
<
[email protected]
>
Wed, 28 Jun 2017 10:51:13 +0000
(12:51 +0200)
The CRTC helper .prepare() operation is legacy code, the atomic helpers
prefer the .disable() operation. As the arcpgu driver implements the
.disable() and .prepare() operations identicallly, .prepare() can be
removed.
Signed-off-by: Laurent Pinchart <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/arc/arcpgu_crtc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/arc/arcpgu_crtc.c
b/drivers/gpu/drm/arc/arcpgu_crtc.c
index 51745608e09d0e2bf77401e25b39e4c95c53c561..1f306781c9d5b4f61b67a08eaf2baa5fe5b44a89 100644
(file)
--- a/
drivers/gpu/drm/arc/arcpgu_crtc.c
+++ b/
drivers/gpu/drm/arc/arcpgu_crtc.c
@@
-163,7
+163,6
@@
static const struct drm_crtc_helper_funcs arc_pgu_crtc_helper_funcs = {
.mode_set_nofb = arc_pgu_crtc_mode_set_nofb,
.enable = arc_pgu_crtc_enable,
.disable = arc_pgu_crtc_disable,
- .prepare = arc_pgu_crtc_disable,
.atomic_begin = arc_pgu_crtc_atomic_begin,
};