Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755246AbaJJUJA (ORCPT ); Fri, 10 Oct 2014 16:09:00 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:42105 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755121AbaJJUI4 (ORCPT ); Fri, 10 Oct 2014 16:08:56 -0400 From: Sumit Semwal To: linux-kernel@vger.kernel.org Cc: linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linaro-kernel@lists.linaro.org, Sumit Semwal , Greg Kroah-Hartman Subject: [RFC 3/4] cenalloc: Build files for constraint-enabled allocation helpers Date: Sat, 11 Oct 2014 01:37:57 +0530 Message-Id: <1412971678-4457-4-git-send-email-sumit.semwal@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412971678-4457-1-git-send-email-sumit.semwal@linaro.org> References: <1412971678-4457-1-git-send-email-sumit.semwal@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the build files for cenalloc, the constraints-enabled allocation helper framework for dma-buf. Signed-off-by: Sumit Semwal Cc: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman Cc: linux-media@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linaro-mm-sig@lists.linaro.org --- drivers/Kconfig | 2 ++ drivers/Makefile | 1 + drivers/cenalloc/Kconfig | 8 ++++++++ drivers/cenalloc/Makefile | 3 +++ 4 files changed, 14 insertions(+) create mode 100644 drivers/cenalloc/Kconfig create mode 100644 drivers/cenalloc/Makefile diff --git a/drivers/Kconfig b/drivers/Kconfig index 1a693d3..f40d2ce 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -182,4 +182,6 @@ source "drivers/ras/Kconfig" source "drivers/thunderbolt/Kconfig" +source "drivers/cenalloc/Kconfig" + endmenu diff --git a/drivers/Makefile b/drivers/Makefile index ebee555..a04e516 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -161,3 +161,4 @@ obj-$(CONFIG_POWERCAP) += powercap/ obj-$(CONFIG_MCB) += mcb/ obj-$(CONFIG_RAS) += ras/ obj-$(CONFIG_THUNDERBOLT) += thunderbolt/ +obj-$(CONFIG_CENALLOC) += cenalloc/ diff --git a/drivers/cenalloc/Kconfig b/drivers/cenalloc/Kconfig new file mode 100644 index 0000000..9472d5d --- /dev/null +++ b/drivers/cenalloc/Kconfig @@ -0,0 +1,8 @@ +menuconfig CENALLOC + bool "cenalloc helper functions" + default n + select ANON_INODES + help + This option enables the helper allocation framework for drivers using + dma-buf buffer-sharing. It uses constraints of participating devices + to help find out best suited allocator. diff --git a/drivers/cenalloc/Makefile b/drivers/cenalloc/Makefile new file mode 100644 index 0000000..d36b531 --- /dev/null +++ b/drivers/cenalloc/Makefile @@ -0,0 +1,3 @@ +# Makefile for the cenalloc helper + +obj-y += cenalloc.o -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/