drm/exynos: more cleanup with super device support
Subsystems (5)
Inki Dae
maintainercover drm/exynos: more cleanup with super device support
This patch series cleans up exynos drm framework and kms sub drivers using the component framework[1].
And this patch series had been posted for RFC[2].
Thanks,
Inki Dae
[1] http://lists.freedesktop.org/archives/dri-devel/2014-January/051249.html
[2] http://comments.gmane.org/gmane.comp.video.dri.devel/101200
Inki Dae (3):
drm/exynos: add super device support
drm/exynos: register platform driver at each kms sub drivers
ARM: dts: exynos4210-universal: add a super device node for exynos
drm
arch/arm/boot/dts/exynos4210-universal_c210.dts | 5 + drivers/gpu/drm/exynos/exynos_dp_core.c | 46 ++-- drivers/gpu/drm/exynos/exynos_drm_core.c | 216 ++++--------------- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 17 ++ drivers/gpu/drm/exynos/exynos_drm_crtc.h | 4 + drivers/gpu/drm/exynos/exynos_drm_dpi.c | 14 +- drivers/gpu/drm/exynos/exynos_drm_drv.c | 259 +++++++++++------------ drivers/gpu/drm/exynos/exynos_drm_drv.h | 74 +++---- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 58 +++-- drivers/gpu/drm/exynos/exynos_drm_vidi.c | 61 ++++-- drivers/gpu/drm/exynos/exynos_hdmi.c | 46 ++-- drivers/gpu/drm/exynos/exynos_mixer.c | 55 ++++- 12 files changed, 406 insertions(+), 449 deletions(-)
Signature · 1 line
1.7.9.5
Inki Dae
maintainerPATCH 1/3 drm/exynos: add super device support
This patch adds super device support to bind sub drivers using device tree.
For this, you should add a super device node to each machine dt files like belows,
In case of using MIPI-DSI,
exynos-drm {
compatible = "samsung,exynos-drm";
crtcs = <&fimd>;
connectors = <&dsi>;
};In case of using DisplayPort,
exynos-drm {
compatible = "samsung,exynos-drm";
crtcs = <&fimd>;
connectors = <&dp>;
};In case of using Parallel panel,
exynos-drm {
compatible = "samsung,exynos-drm";
crtcs = <&fimd>;
connectors = <&panel>;
};And if you don't add connectors property to machine dt file like below, default parallel panel feature of exynos_drm_dpi module will be used as default.
exynos-drm {
compatible = "samsung,exynos-drm";
crtcs = <&fimd>;
};crtcs property can have the following device nodes,
fimd or mixer
connectors property can have the following device nodes,
Panel, MIPI-DSI, eDP, or HDMI
With this patch, we can resolve the probing order issue without some global lists. So this patch also removes the unnecessary lists and stuff related to these lists.
Previous RFC patch,
http://www.spinics.net/lists/dri-devel/msg54671.html
Changelog since RFC patch:
- Register sub drivers and probe them at load(). In case of non sub drivers, sub driver probe is needed.
- Enable runtime pm at fimd_probe() instead of fimd_bind(). runtime pm should be enabled before iommu device is attached to fimd device.
- Do not return an error with component_master_add fail.
- Remove super device support from mipi dsi driver which was in RFC.
- Add super device support to parallel driver.
--- drivers/gpu/drm/exynos/exynos_dp_core.c | 45 +++--- drivers/gpu/drm/exynos/exynos_drm_core.c | 216 +++++------------------------ drivers/gpu/drm/exynos/exynos_drm_crtc.c | 17 +++ drivers/gpu/drm/exynos/exynos_drm_crtc.h | 4 + drivers/gpu/drm/exynos/exynos_drm_dpi.c | 14 +- drivers/gpu/drm/exynos/exynos_drm_drv.c | 218 +++++++++++++++++------------- drivers/gpu/drm/exynos/exynos_drm_drv.h | 69 ++++------ drivers/gpu/drm/exynos/exynos_drm_fimd.c | 57 ++++++-- drivers/gpu/drm/exynos/exynos_drm_vidi.c | 61 +++++++-- drivers/gpu/drm/exynos/exynos_hdmi.c | 45 +++--- drivers/gpu/drm/exynos/exynos_mixer.c | 54 ++++++-- 11 files changed, 401 insertions(+), 399 deletions(-)
drivers/gpu/drm/exynos/exynos_dp_core.c +28 -17
@@ -18,6 +18,7 @@#include <linux/interrupt.h> #include <linux/delay.h> #include <linux/of.h> +#include <linux/component.h> #include <linux/phy/phy.h> #include <video/of_display_timing.h> #include <video/of_videomode.h>
@@ -969,16 +970,6 @@ static struct drm_connector_helper_funcs exynos_dp_connector_helper_funcs = { .best_encoder = exynos_dp_best_encoder, }; -static int exynos_dp_initialize (struct exynos_drm_display *display, -struct drm_device *drm_dev) -{ -struct exynos_dp_device *dp = display->ctx; - - dp->drm_dev = drm_dev; - -return 0 ; -} -static bool find_bridge (const char *compat,struct bridge_init *bridge) { bridge->client =NULL ;
@@ -1106,7 +1097,6 @@ static void exynos_dp_dpms(struct exynos_drm_display *display, int mode) }static struct exynos_drm_display_ops exynos_dp_display_ops = { - .initialize = exynos_dp_initialize, .create_connector = exynos_dp_create_connector, .dpms = exynos_dp_dpms, };
@@ -1230,8 +1220,10 @@ static int exynos_dp_dt_parse_panel(struct exynos_dp_device *dp)return 0 ; } -static int exynos_dp_probe (struct platform_device *pdev) +static int exynos_dp_bind (struct device *dev,struct device *master,void *data) { +struct platform_device *pdev =to_platform_device (dev); +struct drm_device *drm_dev = data;struct resource *res;struct exynos_dp_device *dp;
@@ -1293,21 +1285,40 @@ static int exynos_dp_probe(struct platform_device *pdev) }disable_irq (dp->irq); + dp->drm_dev = drm_dev; exynos_dp_display.ctx = dp;platform_set_drvdata (pdev, &exynos_dp_display); -exynos_drm_display_register (&exynos_dp_display); -return 0 ; +return exynos_drm_create_enc_conn (drm_dev, &exynos_dp_display); } -static int exynos_dp_remove (struct platform_device *pdev) +static void exynos_dp_unbind (struct device *dev,struct device *master, +void *data) { -struct exynos_drm_display *display =platform_get_drvdata (pdev); +struct exynos_drm_display *display =dev_get_drvdata (dev); +struct exynos_dp_device *dp = display->ctx; +struct drm_encoder *encoder = dp->encoder;exynos_dp_dpms (display,DRM_MODE_DPMS_OFF ); -exynos_drm_display_unregister (&exynos_dp_display); + encoder->funcs->destroy (encoder); +drm_connector_cleanup (&dp->connector); +} + +static const struct component_ops exynos_dp_ops = { + .bind = exynos_dp_bind, + .unbind = exynos_dp_unbind, +}; + +static int exynos_dp_probe (struct platform_device *pdev) +{ +return component_add (&pdev->dev, &exynos_dp_ops); +} + +static int exynos_dp_remove (struct platform_device *pdev) +{ +component_del (&pdev->dev, &exynos_dp_ops);return 0 ; }
drivers/gpu/drm/exynos/exynos_drm_core.c +36 -180
269 lines not on this page · raw message
drivers/gpu/drm/exynos/exynos_drm_crtc.c +17 -0
@@ -367,6 +367,7 @@ int exynos_drm_crtc_create(struct exynos_drm_manager *manager)return -ENOMEM ; } + manager->crtc = &exynos_crtc->drm_crtc; crtc = &exynos_crtc->drm_crtc; private->crtc[manager->pipe] = crtc;
@@ -490,3 +491,19 @@ void exynos_drm_crtc_complete_scanout(struct drm_framebuffer *fb) manager->ops->wait_for_vblank (manager); } } + +int exynos_drm_crtc_get_pipe_from_type (struct drm_device *drm_dev, +unsigned int out_type) +{ +struct drm_crtc *crtc; + +list_for_each_entry (crtc, &drm_dev->mode_config.crtc_list, head) { +struct exynos_drm_crtc *exynos_crtc; + + exynos_crtc =to_exynos_crtc (crtc); +if (exynos_crtc->manager->type == out_type) +return exynos_crtc->manager->pipe; + } + +return -EPERM ; +}
drivers/gpu/drm/exynos/exynos_drm_crtc.h +4 -0
@@ -32,4 +32,8 @@ void exynos_drm_crtc_plane_commit(struct drm_crtc *crtc, int zpos);void exynos_drm_crtc_plane_enable (struct drm_crtc *crtc,int zpos);void exynos_drm_crtc_plane_disable (struct drm_crtc *crtc,int zpos); +/* This function gets pipe value to crtc device matched with out_type. */ +int exynos_drm_crtc_get_pipe_from_type (struct drm_device *drm_dev, +unsigned int out_type); +#endif
drivers/gpu/drm/exynos/exynos_drm_dpi.c +8 -6
@@ -308,7 +308,7 @@ static int exynos_dpi_parse_dt(struct exynos_dpi *ctx)return 0 ; } -int exynos_dpi_probe (struct device *dev) +int exynos_dpi_probe (struct drm_device *drm_dev,struct device *dev) {struct exynos_dpi *ctx;int ret;
@@ -325,15 +325,17 @@ int exynos_dpi_probe(struct device *dev)if (ret <0 )return ret; -exynos_drm_display_register (&exynos_dpi_display); - -return 0 ; +return exynos_drm_create_enc_conn (drm_dev, &exynos_dpi_display); } -int exynos_dpi_remove (struct device *dev) +int exynos_dpi_remove (struct drm_device *drm_dev,struct device *dev) { +struct drm_encoder *encoder = exynos_dpi_display.encoder; +struct exynos_dpi *ctx = exynos_dpi_display.ctx; +exynos_dpi_dpms (&exynos_dpi_display,DRM_MODE_DPMS_OFF ); -exynos_drm_display_unregister (&exynos_dpi_display); + encoder->funcs->destroy (encoder); +drm_connector_cleanup (&ctx->connector);return 0 ; }
drivers/gpu/drm/exynos/exynos_drm_drv.c +123 -95
335 lines not on this page · raw message
drivers/gpu/drm/exynos/exynos_drm_drv.h +26 -43
145 lines not on this page · raw message
drivers/gpu/drm/exynos/exynos_drm_fimd.c +42 -15
106 lines not on this page · raw message
drivers/gpu/drm/exynos/exynos_drm_vidi.c +47 -14
120 lines not on this page · raw message
drivers/gpu/drm/exynos/exynos_hdmi.c +27 -18
95 lines not on this page · raw message
drivers/gpu/drm/exynos/exynos_mixer.c +43 -11
101 lines not on this page · raw message
Signature · 1 line
1.7.9.5
Re: [PATCH 1/3] drm/exynos: add super device support
Hi Inki,
Am Donnerstag, den 27.03.2014, 21:43 +0900 schrieb Inki Dae:
Quoted 6 lines
This patch adds super device support to bind sub drivers using device tree.
For this, you should add a super device node to each machine dt files like belows,
Quoted 6 lines
In case of using MIPI-DSI,
exynos-drm { compatible = "samsung,exynos-drm"; crtcs = <&fimd>; connectors = <&dsi>; };
Russell had suggested a similar binding for i.MX, but we have since changed it to look like this instead:
- imx-drm {
- compatible = "fsl,imx-drm";
- crtcs = <&ipu 0>, <&ipu 1>;
- connectors = <&hdmi>, <&ldb>;
- };
+ display-subsystem {
+ compatible = "fsl,imx-display-subsystem";
+ ports = <&ipu_di0>, <&ipu_di1>;
+ };
The ports are the two display output port nodes of the image processing unit (corresponding to a drm_crtc each), and the imx-drm driver that binds to the compatible value "fsl,imx-display-subsystem" automatically collects all encoders that hang off of those via the OF graph bindings (as documented in Documentation/devicetree/bindings/graph.txt in the staging tree). I don't know how well those bindings would fit on Exynos, maybe you could consider aligning your bindings with those.
Either way, the generic term 'display-subsystem' is preferable to 'drm', as the latter is Linux specific, which the device tree bindings shouldn't be. The same goes for the 'crtcs' property. I'd prefer to avoid Linux specific legacy names in new device tree bindings.
Also, since this adds new bindings, it should probably be sent to the devicetree mailing list and include some documentation.
If you are interested in the previous discussion on the imx-drm supernode, here is the thread history:
"[PATCH v5 00/11] imx-drm dt bindings"
http://www.spinics.net/lists/arm-kernel/msg313112.html
"[PATCH v4 00/11] imx-drm dt bindings"
http://www.spinics.net/lists/dri-devel/msg54353.html
"[RFC PATCH v3 0/9] imx-drm dt bindings"
http://www.spinics.net/lists/arm-kernel/msg308529.html
"[RFC PATCH v2 0/4] imx-drm dt bindings"
http://www.spinics.net/lists/arm-kernel/msg306649.html
"[RFC PATCH 0/3] imx-drm dt bindings"
http://www.spinics.net/lists/arm-kernel/msg298290.htmlregards
Philipp
Inki Dae
maintainerRe: [PATCH 1/3] drm/exynos: add super device support
Hi Philipp,
2014-03-27 23:46 GMT+09:00 Philipp Zabel <[email protected]>:
Quoted 37 lines
Hi Inki,
Am Donnerstag, den 27.03.2014, 21:43 +0900 schrieb Inki Dae:
Quoted 6 lines
This patch adds super device support to bind sub drivers using device tree.
For this, you should add a super device node to each machine dt files like belows,
Quoted 6 lines
In case of using MIPI-DSI,
exynos-drm { compatible = "samsung,exynos-drm"; crtcs = <&fimd>; connectors = <&dsi>; };Russell had suggested a similar binding for i.MX, but we have since changed it to look like this instead:
(quoted diff) +4
-5- imx-drm { - compatible = "fsl,imx-drm"; - crtcs = <&ipu 0>, <&ipu 1>; - connectors = <&hdmi>, <&ldb>; - }; + display-subsystem { + compatible = "fsl,imx-display-subsystem"; + ports = <&ipu_di0>, <&ipu_di1>; + };The ports are the two display output port nodes of the image processing unit (corresponding to a
drm_crtceach), and the imx-drm driver that binds to the compatible value "fsl,imx-display-subsystem" automatically collects all encoders that hang off of those via the OF graph bindings (as documented inDocumentation/devicetree/bindings/graph.txtin the staging tree). I don't know how well those bindings would fit on Exynos, maybe you could consider aligning your bindings with those.
Quoted 4 lines
Either way, the generic term 'display-subsystem' is preferable to 'drm', as the latter is Linux specific, which the device tree bindings shouldn't be. The same goes for the 'crtcs' property. I'd prefer to avoid Linux specific legacy names in new device tree bindings.
Agree. I also thought that using property names, drm, crtcs and connectors, specific to Linux is not reasonable. It looks good to use 'display-subsystem' instead of 'drm'.
But only using 'ports' property for only crtc device is not clear to me.
In case of Exynos SoC, there are various types of bridge device, image enhancer between crtc and encoder device, and lvds device between encoder and panel device.
So I think Exynos drm core would be complicated with some binding codes if we use only 'ports' property.
I guess 'imx_drm_components' list specific to imx drm would be among them, and that would be because you could resolve the probe order issue only using existing component framework.
Below link shows how we are trying to handle such various bridge devices in drm,
http://www.spinics.net/lists/dri-devel/msg55555.html
And this patch series is first step for it.
I'd like to use only component framework without specific list somehow but we should find generic property names for encoder/connector and bridge devices.
Thanks,
Inki Dae
Quoted 24 lines
Also, since this adds new bindings, it should probably be sent to the devicetree mailing list and include some documentation.
If you are interested in the previous discussion on the imx-drm supernode, here is the thread history:
"[PATCH v5 00/11] imx-drm dt bindings" http://www.spinics.net/lists/arm-kernel/msg313112.html "[PATCH v4 00/11] imx-drm dt bindings" http://www.spinics.net/lists/dri-devel/msg54353.html "[RFC PATCH v3 0/9] imx-drm dt bindings" http://www.spinics.net/lists/arm-kernel/msg308529.html "[RFC PATCH v2 0/4] imx-drm dt bindings" http://www.spinics.net/lists/arm-kernel/msg306649.html "[RFC PATCH 0/3] imx-drm dt bindings" http://www.spinics.net/lists/arm-kernel/msg298290.htmlregards
Philipp_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Inki Dae
maintainerRe: [PATCH 1/3] drm/exynos: add super device support
Sorry for typo.
2014-03-28 19:46 GMT+09:00 Inki Dae <[email protected]>:
Quoted 51 lines
Hi Philipp,
2014-03-27 23:46 GMT+09:00 Philipp Zabel <[email protected]>:
Quoted 37 lines
Hi Inki,
Am Donnerstag, den 27.03.2014, 21:43 +0900 schrieb Inki Dae:
Quoted 6 lines
This patch adds super device support to bind sub drivers using device tree.
For this, you should add a super device node to each machine dt files like belows,
Quoted 6 lines
In case of using MIPI-DSI,
exynos-drm { compatible = "samsung,exynos-drm"; crtcs = <&fimd>; connectors = <&dsi>; };Russell had suggested a similar binding for i.MX, but we have since changed it to look like this instead:
(quoted diff) +4
-5- imx-drm { - compatible = "fsl,imx-drm"; - crtcs = <&ipu 0>, <&ipu 1>; - connectors = <&hdmi>, <&ldb>; - }; + display-subsystem { + compatible = "fsl,imx-display-subsystem"; + ports = <&ipu_di0>, <&ipu_di1>; + };The ports are the two display output port nodes of the image processing unit (corresponding to a
drm_crtceach), and the imx-drm driver that binds to the compatible value "fsl,imx-display-subsystem" automatically collects all encoders that hang off of those via the OF graph bindings (as documented inDocumentation/devicetree/bindings/graph.txtin the staging tree). I don't know how well those bindings would fit on Exynos, maybe you could consider aligning your bindings with those.Quoted 4 lines
Either way, the generic term 'display-subsystem' is preferable to 'drm', as the latter is Linux specific, which the device tree bindings shouldn't be. The same goes for the 'crtcs' property. I'd prefer to avoid Linux specific legacy names in new device tree bindings.
Agree. I also thought that using property names, drm, crtcs and connectors, specific to Linux is not reasonable. It looks good to use 'display-subsystem' instead of 'drm'.
But only using 'ports' property for only crtc device is not clear to me.
Quoted 7 lines
In case of Exynos SoC, there are various types of bridge device, image enhancer between crtc and encoder device, and lvds device between encoder and panel device.
So I think Exynos drm core would be complicated with some binding codes if we use only 'ports' property.
I guess 'imx_drm_components' list specific to imx drm would be among them, and that would be because you could resolve the probe order
s/could/couldn't
Quoted 38 lines
issue only using existing component framework.
Below link shows how we are trying to handle such various bridge devices in drm,
http://www.spinics.net/lists/dri-devel/msg55555.htmlAnd this patch series is first step for it.
I'd like to use only component framework without specific list somehow but we should find generic property names for encoder/connector and bridge devices.
Thanks,
Inki DaeQuoted 24 lines
Also, since this adds new bindings, it should probably be sent to the devicetree mailing list and include some documentation.
If you are interested in the previous discussion on the imx-drm supernode, here is the thread history:
"[PATCH v5 00/11] imx-drm dt bindings" http://www.spinics.net/lists/arm-kernel/msg313112.html "[PATCH v4 00/11] imx-drm dt bindings" http://www.spinics.net/lists/dri-devel/msg54353.html "[RFC PATCH v3 0/9] imx-drm dt bindings" http://www.spinics.net/lists/arm-kernel/msg308529.html "[RFC PATCH v2 0/4] imx-drm dt bindings" http://www.spinics.net/lists/arm-kernel/msg306649.html "[RFC PATCH 0/3] imx-drm dt bindings" http://www.spinics.net/lists/arm-kernel/msg298290.htmlregards
Philipp_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Inki Dae
maintainerRe: [PATCH 1/3] drm/exynos: add super device support
In reply to Philipp Zabel2014-03-27 23:46 GMT+09:00 Philipp Zabel <[email protected]>:
Quoted 19 lines
Hi Inki,
Am Donnerstag, den 27.03.2014, 21:43 +0900 schrieb Inki Dae:
Quoted 6 lines
This patch adds super device support to bind sub drivers using device tree.
For this, you should add a super device node to each machine dt files like belows,
Quoted 6 lines
In case of using MIPI-DSI,
exynos-drm { compatible = "samsung,exynos-drm"; crtcs = <&fimd>; connectors = <&dsi>; };Russell had suggested a similar binding for i.MX, but we have since changed it to look like this instead:
Review
Quoted 8 lines
(quoted diff) +3
-5- imx-drm { - compatible = "fsl,imx-drm"; - crtcs = <&ipu 0>, <&ipu 1>; - connectors = <&hdmi>, <&ldb>; - }; + display-subsystem { + compatible = "fsl,imx-display-subsystem"; + ports = <&ipu_di0>, <&ipu_di1>;
Is there any reason that ports property should have only crtc device nodes? I mean that if all device nodes for crtc and encoder/connector devices are added to ports property, I think you could remove imx_drm_components list and relevant codes.
I think this way we could use component framework and super device node to resolve the probe order issue, and video interfaces nodes to compose display pipelines.
Thanks,
Inki Dae
Quoted 38 lines
+ };
The ports are the two display output port nodes of the image processing unit (corresponding to a
drm_crtceach), and the imx-drm driver that binds to the compatible value "fsl,imx-display-subsystem" automatically collects all encoders that hang off of those via the OF graph bindings (as documented inDocumentation/devicetree/bindings/graph.txtin the staging tree). I don't know how well those bindings would fit on Exynos, maybe you could consider aligning your bindings with those.Either way, the generic term 'display-subsystem' is preferable to 'drm', as the latter is Linux specific, which the device tree bindings shouldn't be. The same goes for the 'crtcs' property. I'd prefer to avoid Linux specific legacy names in new device tree bindings.
Also, since this adds new bindings, it should probably be sent to the devicetree mailing list and include some documentation.
If you are interested in the previous discussion on the imx-drm supernode, here is the thread history:
"[PATCH v5 00/11] imx-drm dt bindings" http://www.spinics.net/lists/arm-kernel/msg313112.html "[PATCH v4 00/11] imx-drm dt bindings" http://www.spinics.net/lists/dri-devel/msg54353.html "[RFC PATCH v3 0/9] imx-drm dt bindings" http://www.spinics.net/lists/arm-kernel/msg308529.html "[RFC PATCH v2 0/4] imx-drm dt bindings" http://www.spinics.net/lists/arm-kernel/msg306649.html "[RFC PATCH 0/3] imx-drm dt bindings" http://www.spinics.net/lists/arm-kernel/msg298290.htmlregards
Philipp_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Inki Dae
maintainerPATCH 2/3 drm/exynos: register platform driver at each kms sub drivers
In reply to Inki DaeThis patch removes platform_driver_register() calls from exynos_drm_drv module, and calls module_platform_driver() at each kms sub drivers instead.
Previous RFC patch,
http://www.spinics.net/lists/dri-devel/msg54672.html
Changelog since RFC patch:
- remove unnecessary platform_driver declarations to each sub driver.
--- drivers/gpu/drm/exynos/exynos_dp_core.c | 1 + drivers/gpu/drm/exynos/exynos_drm_drv.c | 49 ------------------------------ drivers/gpu/drm/exynos/exynos_drm_drv.h | 5 --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 1 + drivers/gpu/drm/exynos/exynos_hdmi.c | 1 + drivers/gpu/drm/exynos/exynos_mixer.c | 1 + 6 files changed, 4 insertions(+), 54 deletions(-)
drivers/gpu/drm/exynos/exynos_dp_core.c +1 -0
@@ -1362,6 +1362,7 @@ struct platform_driver dp_driver = { .of_match_table = exynos_dp_match, }, }; +module_platform_driver (dp_driver);MODULE_AUTHOR ("Jingoo Han <[email protected]>" );MODULE_DESCRIPTION ("Samsung SoC DP Driver" );
drivers/gpu/drm/exynos/exynos_drm_drv.c +0 -49
67 lines not on this page · raw message
drivers/gpu/drm/exynos/exynos_drm_drv.h +0 -5
@@ -352,11 +352,6 @@ int exynos_drm_probe_vidi(struct drm_device *dev);int exynos_drm_create_enc_conn (struct drm_device *dev,struct exynos_drm_display *display); -extern struct platform_driver dp_driver; -extern struct platform_driver fimd_driver; -extern struct platform_driver hdmi_driver; -extern struct platform_driver mixer_driver; -extern struct platform_driver exynos_drm_common_hdmi_driver;extern struct platform_driver vidi_driver;extern struct platform_driver g2d_driver;extern struct platform_driver fimc_driver;
drivers/gpu/drm/exynos/exynos_drm_fimd.c +1 -0
@@ -973,3 +973,4 @@ struct platform_driver fimd_driver = { .of_match_table = fimd_driver_dt_match, }, }; +module_platform_driver (fimd_driver);
drivers/gpu/drm/exynos/exynos_hdmi.c +1 -0
@@ -2193,3 +2193,4 @@ struct platform_driver hdmi_driver = { .of_match_table = hdmi_match_types, }, }; +module_platform_driver (hdmi_driver);
drivers/gpu/drm/exynos/exynos_mixer.c +1 -0
@@ -1292,3 +1292,4 @@ struct platform_driver mixer_driver = { .remove = mixer_remove, .id_table = mixer_driver_types, }; +module_platform_driver (mixer_driver);
Signature · 1 line
1.7.9.5
Inki Dae
maintainerPATCH 3/3 ARM: dts: exynos4210-universal: add a super device node for exynos drm
In reply to Inki Dae--- arch/arm/boot/dts/exynos4210-universal_c210.dts | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/boot/dts/exynos4210-universal_c210.dts +5 -0
@@ -372,6 +372,11 @@ }; }; + exynos-drm { + compatible = "samsung,exynos-drm"; + crtcs = <&fimd>; + }; + pwm@139D0000 { compatible = "samsung,s5p6440-pwm"; status = "okay";
Signature · 1 line
1.7.9.5
Inki Dae
maintainerPATCH 3/3 ARM: dts: exynos4210-universal: add a super device node for exynos drm
--- arch/arm/boot/dts/exynos4210-universal_c210.dts | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/boot/dts/exynos4210-universal_c210.dts +5 -0
@@ -372,6 +372,11 @@ }; }; + exynos-drm { + compatible = "samsung,exynos-drm"; + crtcs = <&fimd>; + }; + pwm@139D0000 { compatible = "samsung,s5p6440-pwm"; status = "okay";
Signature · 1 line
1.7.9.5