OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d02d8a9
)
drm/msm: fix opencoded use of drm_panel_*
author
Sam Ravnborg
<sam@ravnborg.org>
Sun, 4 Aug 2019 20:16:27 +0000
(22:16 +0200)
committer
Sam Ravnborg
<sam@ravnborg.org>
Sun, 1 Dec 2019 11:17:54 +0000
(12:17 +0100)
Use the function drm_panel_get_modes().
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: Alexios Zavras <alexios.zavras@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Allison Randal <allison@lohutok.net>
Cc: Enrico Weigelt <info@metux.net>
Link:
https://patchwork.freedesktop.org/patch/msgid/20190804201637.1240-7-sam@ravnborg.org
drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c
b/drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c
index
9262ed2
..
31abd23
100644
(file)
--- a/
drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c
+++ b/
drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c
@@
-53,7
+53,7
@@
static int mdp4_lvds_connector_get_modes(struct drm_connector *connector)
if (panel) {
drm_panel_attach(panel, connector);
- ret =
panel->funcs->
get_modes(panel);
+ ret =
drm_panel_
get_modes(panel);
drm_panel_detach(panel);
}