From patchwork Fri Apr 10 12:32:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1269063 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=t-online.de Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48zHTM38Hzz9sSX for ; Fri, 10 Apr 2020 22:32:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4344B86C76; Fri, 10 Apr 2020 12:32:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v1d28FUszNWE; Fri, 10 Apr 2020 12:32:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A99F786C77; Fri, 10 Apr 2020 12:32:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 73AAD1BF35B for ; Fri, 10 Apr 2020 12:32:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7086986C77 for ; Fri, 10 Apr 2020 12:32:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZIkR2AZjq6q7 for ; Fri, 10 Apr 2020 12:32:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 9CA3086C76 for ; Fri, 10 Apr 2020 12:32:18 +0000 (UTC) Received: from fwd30.aul.t-online.de (fwd30.aul.t-online.de [172.20.26.135]) by mailout11.t-online.de (Postfix) with SMTP id B96374231101 for ; Fri, 10 Apr 2020 14:32:16 +0200 (CEST) Received: from fli4l.lan.fli4l (r1QBToZHZhOQ4r7zM16KmdRhpZsVaJfZlZ7aT9xQgHyHz0koGMbSrICmwwoaOe-w-Y@[84.161.191.233]) by fwd30.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1jMspM-109bO40; Fri, 10 Apr 2020 14:32:08 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:45460) by fli4l.lan.fli4l with esmtp (Exim 4.92.3) (envelope-from ) id 1jMspL-0001KM-Mk for buildroot@buildroot.org; Fri, 10 Apr 2020 14:32:08 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Fri, 10 Apr 2020 14:32:06 +0200 Message-Id: <20200410123207.3145145-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-ID: r1QBToZHZhOQ4r7zM16KmdRhpZsVaJfZlZ7aT9xQgHyHz0koGMbSrICmwwoaOe-w-Y X-TOI-MSGID: e2b0d0e8-f294-4a24-baa7-0f4a8343d49d Subject: [Buildroot] [PATCH 1/2] package/x11r7/xdriver_xf86-video-amdgpu: needs opengl X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The package needs dri.h https://cgit.freedesktop.org/xorg/driver/xf86-video-amdgpu/tree/src/amdgpu_probe.c#n53 https://cgit.freedesktop.org/xorg/driver/xf86-video-amdgpu/tree/src/drmmode_display.c#n50 which is only provided by xserver_xorg-server when opengl is enabled: https://git.buildroot.net/buildroot/tree/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk#n123 Signed-off-by: Bernd Kuhls --- The build error was not recorded by the autobuilders because they fail already during at configure stage due to wrong dependencies for glamor support fixed in the second patch of this series. package/x11r7/xdriver_xf86-video-amdgpu/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/x11r7/xdriver_xf86-video-amdgpu/Config.in b/package/x11r7/xdriver_xf86-video-amdgpu/Config.in index c42255f55c..fb18c0d812 100644 --- a/package/x11r7/xdriver_xf86-video-amdgpu/Config.in +++ b/package/x11r7/xdriver_xf86-video-amdgpu/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU bool "xf86-video-amdgpu" depends on BR2_USE_MMU # libdrm depends on BR2_PACKAGE_MESA3D_DRI_DRIVER + depends on BR2_PACKAGE_MESA3D_OPENGL_GLX # dri.h depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # gbm select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_LIBDRM_AMDGPU @@ -14,4 +15,5 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU comment "xf86-video-amdgpu needs egl/opengl support from mesa3d" depends on BR2_USE_MMU depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \ + !BR2_PACKAGE_MESA3D_OPENGL_GLX || \ !BR2_PACKAGE_MESA3D_DRI_DRIVER