Hi All, I tried to run the application I got the following compilation error message
v4l2_drm In file included from v4l2_drm.c:16:0: /usr/include/xf86drm.h:40:17: fatal error: drm.h: No such file or directory compilation terminated. make: *** [v4l2_drm] Error 1
I am trying to use this in the USB and intel graphics driver (emgd or i915) Please help me in this regard
Thanks,
-----Original Message----- From: dri-devel [mailto:dri-devel-bounces@lists.freedesktop.org] On Behalf Of dri-devel-request@lists.freedesktop.org Sent: Friday, April 18, 2014 2:56 PM To: dri-devel@lists.freedesktop.org Subject: dri-devel Digest, Vol 49, Issue 251
Send dri-devel mailing list submissions to dri-devel@lists.freedesktop.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.freedesktop.org/mailman/listinfo/dri-devel or, via email, send a message with subject or body 'help' to dri-devel-request@lists.freedesktop.org
You can reach the person managing the list at dri-devel-owner@lists.freedesktop.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of dri-devel digest..."
Today's Topics:
1. Re: [PATCH 4/7] drm/exynos: add exynos_dp_panel driver registration to drm driver (Jingoo Han) 2. [Bug 77602] Tiling issue with mesa git [radeonsi] (bugzilla-daemon@freedesktop.org) 3. RE: [PATCH 5/7] drm/exynos: dp: modify driver to support drm_panel (Jingoo Han) 4. [PATCH 3.12 20/72] video/fb: Propagate error code from failing to unregister conflicting fb (Jiri Slaby) 5. Re: [PATCH 7/7] drm/bridge: ptn3460: add drm_panel controls (Jingoo Han)
----------------------------------------------------------------------
Message: 1 Date: Fri, 18 Apr 2014 17:57:03 +0900 From: Jingoo Han jg1.han@samsung.com To: 'Ajay Kumar' ajaykumar.rs@samsung.com Cc: linux-samsung-soc@vger.kernel.org, seanpaul@google.com, abrestic@chromium.org, joshi@samsung.com, dri-devel@lists.freedesktop.org, a.hajda@samsung.com, kyungmin.park@samsung.com, ajaynumb@gmail.com, treding@nvidia.com, prashanth.g@samsung.com, rahul.sharma@samsung.com Subject: Re: [PATCH 4/7] drm/exynos: add exynos_dp_panel driver registration to drm driver Message-ID: 000201cf5ae4$2b073650$8115a2f0$%han@samsung.com Content-Type: text/plain; charset=us-ascii
On Wednesday, April 16, 2014 11:33 PM, Ajay Kumar wrote:
Register exynos_dp_panel before the list of exynos crtcs and connectors are probed.
This is needed because exynos_dp_panel should be registered to the drm_panel list via panel-exynos-dp probe, i.e much before exynos_dp_bind calls of_drm_find_panel().
Signed-off-by: Ajay Kumar ajaykumar.rs@samsung.com
drivers/gpu/drm/exynos/exynos_drm_drv.c | 11 +++++++++++ drivers/gpu/drm/exynos/exynos_drm_drv.h | 1 + 2 files changed, 12 insertions(+)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index 1d1c604..47266e7 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c @@ -560,12 +560,23 @@ static int exynos_drm_platform_probe(struct platform_device *pdev) goto err_unregister_ipp; #endif
+#ifdef CONFIG_DRM_PANEL_EXYNOS_DP
- ret = platform_driver_register(&exynos_dp_panel_driver);
- if (ret < 0)
goto err_unregister_dp_panel;
+#endif
ret = component_master_add(&pdev->dev, &exynos_drm_ops); if (ret < 0) DRM_DEBUG_KMS("re-tried by last sub driver probed later.\n");
return 0;
+#ifdef CONFIG_DRM_PANEL_EXYNOS_DP
- platform_driver_unregister(&exynos_dp_panel_driver);
+err_unregister_dp_panel: +#endif
Please add platform_driver_unregister() to exynos_drm_platform_remove(), as well as exynos_drm_platform_probe().
Best regards, Jingoo Han
#ifdef CONFIG_DRM_EXYNOS_IPP exynos_platform_device_ipp_unregister(); err_unregister_ipp: diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h index 257ce09..f606290 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.h +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h @@ -368,4 +368,5 @@ extern struct platform_driver fimc_driver; extern struct platform_driver rotator_driver; extern struct platform_driver gsc_driver; extern struct platform_driver ipp_driver; +extern struct platform_driver exynos_dp_panel_driver;
#endif
1.8.1.2
------------------------------
Message: 2 Date: Fri, 18 Apr 2014 09:07:51 +0000 From: bugzilla-daemon@freedesktop.org To: dri-devel@lists.freedesktop.org Subject: [Bug 77602] Tiling issue with mesa git [radeonsi] Message-ID: <bug-77602-502-LDWjqM5EAA@http.bugs.freedesktop.org/> Content-Type: text/plain; charset="utf-8"
https://bugs.freedesktop.org/show_bug.cgi?id=77602
--- Comment #2 from Michel D?nzer michel@daenzer.net --- Please attach the corresponding Xorg.0.log file and output of dmesg and glxinfo.
This might be a duplicate of bug 77533; if not, can you bisect?
-- You are receiving this mail because: You are the assignee for the bug.
dri-devel@lists.freedesktop.org