On 13/09/13 12:38, Archit Taneja wrote: >> Also, omapfb device is currently created the same way as omapdrm, >> independently of omapdss. Why is it a problem to have them like that? > > In a multiplatform config, we might have CONFIG_DRM_OMAP and > CONFIG_DRM_OMAP_MODULE selected. > > This would cause the call omap_init_drm() in arch/arm/mach-omap2/drm.c > to occur. Creating a platform device for omapdrm is unnecessary here > isn't it? Tying it with the initialisation of omapdss devices prevents it. Well, omapdrm depends on omapdss in Kconfig. So if you have DRM enabled, you also have DSS enabled. Tomi
Attachment:
signature.asc
Description: OpenPGP digital signature