From patchwork Sun Feb 9 15:12:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1235452 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.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=HOI+z3na; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Fsw82FYXz9sPF for ; Mon, 10 Feb 2020 02:12:24 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 644BA8632E; Sun, 9 Feb 2020 15:12:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K-bBvXVV1Qye; Sun, 9 Feb 2020 15:12:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 88A2C87B08; Sun, 9 Feb 2020 15:12:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 2E0C01BF2CA for ; Sun, 9 Feb 2020 15:12:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 29D4887B08 for ; Sun, 9 Feb 2020 15:12:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ktl4BGQg0uv3 for ; Sun, 9 Feb 2020 15:12:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) by hemlock.osuosl.org (Postfix) with ESMTPS id CB2FC8632E for ; Sun, 9 Feb 2020 15:12:06 +0000 (UTC) Received: by mail-io1-f43.google.com with SMTP id h8so4799646iob.2 for ; Sun, 09 Feb 2020 07:12:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wEePj/nar4MNkGqBw3GSgGhkXf/pc3Awp4hp+5Hzbdo=; b=HOI+z3na76zodgBIAZH0Lx/BVyu+v5MYqkTJ0gYhOCTeaDq1XvMf+laVrKJHyhj1y/ SEunWeLmYcppFVX2RHuH2HuysojcDTjzYb3lLo6Yi6A5dzUxXemREEE/I8KuW1q41n74 cbxCPH16kgzA3TPpoaLT7pjstZ8cQ+mDoTeX93lGSWKJIQX+n+bYq1Y8J4iHX+HZ9D+D W3LOE0zYQeMHGenTrdGCtIysCA/ebjFOUUJJBUBYiPCJvgjMeXXJaBT+Je9ERcudu1W1 P9LVxy4/iGDV27wSHYvk39sJzFpZ2cqwBoBj9r6kV2bZNr30MM9FOV113BIk4mC/oSoO Ws8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wEePj/nar4MNkGqBw3GSgGhkXf/pc3Awp4hp+5Hzbdo=; b=hHsGM8UgeoziR02ry60Mux1nWAlXXd4MCJ4VrAsIqnRPc0PKtin+iSZEaLPyTISYTm WTNAZu1xxO1rcPKNXMc7+iWsTnjcwbm15oUfuw1sMudCh5Bbnl9rH2mgcZTTCW7YFaR5 XgSng9Te0uN7TwUAoZ7KBybWxCT7/9bvsBLb4jAxxA0eXcQ7mD7pHLuq6cc6Ihr2VyjZ laU3vdjRukAVpQNDFo8XUn8xWo+GQj+7qOq1MU4Lf0Rgook9k+mL3O4pNl6vQp6vOygM QLzRKqdIHaRHhVv1gvoaLyEV0ozpQhDzMJvYJ3rMkvYdwNjYgRZ5fZnGu6+cE9EKh4tH qL3A== X-Gm-Message-State: APjAAAXr1pAwn74Qh1yaqWr8eaRV8X1gNePniAVO13P3C/JM+lnAR+S1 CkZGYn0Fb3KdS7p05q+wdTeI3DHCQiQ= X-Google-Smtp-Source: APXvYqya94S4i+SJL57YW6WSPZZOdTUsHbHOA8DvUUm9AP+mrmiZxPl1yRu03aslhQDnM2Qq5DzVUQ== X-Received: by 2002:a6b:6f06:: with SMTP id k6mr6266339ioc.204.1581261125628; Sun, 09 Feb 2020 07:12:05 -0800 (PST) Received: from james-x399.localdomain (71-33-129-6.hlrn.qwest.net. [71.33.129.6]) by smtp.gmail.com with ESMTPSA id w24sm3998397ilk.4.2020.02.09.07.12.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Feb 2020 07:12:05 -0800 (PST) From: James Hilliard To: buildroot@buildroot.org Date: Sun, 9 Feb 2020 08:12:02 -0700 Message-Id: <20200209151202.51777-1-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/mesa3d: add support for gallium r300 driver 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: , Cc: Bernd Kuhls , Romain Naour , James Hilliard Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: James Hilliard --- package/mesa3d/Config.in | 16 +++++++++++++--- package/mesa3d/mesa3d.mk | 1 + 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index 9965b0e972..f5d04b8e2b 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -166,6 +166,14 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST help Mesa driver for ARM Mali Midgard and Bifrost GPUs. +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300 + bool "Gallium Radeon R300 driver" + depends on BR2_i386 || BR2_x86_64 + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_LIBDRM_RADEON + help + Driver for ATI/AMD Radeon R300/R400/R500 GPUs. + config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 bool "Gallium Radeon R600 driver" depends on BR2_i386 || BR2_x86_64 @@ -275,17 +283,19 @@ config BR2_PACKAGE_MESA3D_VDPAU bool "Gallium VDPAU state tracker" depends on BR2_PACKAGE_XORG7 depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \ + || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300 \ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 \ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI select BR2_PACKAGE_MESA3D_NEEDS_X11 select BR2_PACKAGE_LIBVDPAU help - VDPAU state tracker (needs r600, radeonsi or nouveau gallium - drivers). + VDPAU state tracker (needs r300, r600, radeonsi or nouveau + gallium drivers). -comment "Gallium VDPAU state tracker needs X.org and gallium drivers r600, radeonsi or nouveau" +comment "Gallium VDPAU state tracker needs X.org and gallium drivers r300, r600, radeonsi or nouveau" depends on !BR2_PACKAGE_XORG7 || \ !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \ + || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300 \ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 \ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI) diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index 7fb07ae05c..c14716bf15 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -80,6 +80,7 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO) += kmsro MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA) += lima MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU) += nouveau MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST) += panfrost +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300) += r300 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600) += r600 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI) += radeonsi MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA) += svga